Skip to content

Commit

Permalink
Removed pinv2 references for bug fix
Browse files Browse the repository at this point in the history
  • Loading branch information
tunasplam committed Aug 5, 2022
1 parent d9968e3 commit bb9858f
Show file tree
Hide file tree
Showing 5 changed files with 1 addition and 5 deletions.
2 changes: 1 addition & 1 deletion pykrige/core.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
eps = 1.0e-10 # Cutoff for comparison to zero


P_INV = {"pinv": spl.pinv, "pinv2": spl.pinv2, "pinvh": spl.pinvh}
P_INV = {"pinv": spl.pinv, "pinvh": spl.pinvh}


def great_circle_distance(lon1, lat1, lon2, lat2):
Expand Down
1 change: 0 additions & 1 deletion pykrige/ok.py
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,6 @@ class OrdinaryKriging:
Here you can select the algorithm to compute the pseudo-inverse matrix:
* `"pinv"`: use `pinv` from `scipy` which uses `lstsq`
* `"pinv2"`: use `pinv2` from `scipy` which uses `SVD`
* `"pinvh"`: use `pinvh` from `scipy` which uses eigen-values
Default: `"pinv"`
Expand Down
1 change: 0 additions & 1 deletion pykrige/ok3d.py
Original file line number Diff line number Diff line change
Expand Up @@ -171,7 +171,6 @@ class OrdinaryKriging3D:
Here you can select the algorithm to compute the pseudo-inverse matrix:
* `"pinv"`: use `pinv` from `scipy` which uses `lstsq`
* `"pinv2"`: use `pinv2` from `scipy` which uses `SVD`
* `"pinvh"`: use `pinvh` from `scipy` which uses eigen-values
Default: `"pinv"`
Expand Down
1 change: 0 additions & 1 deletion pykrige/uk.py
Original file line number Diff line number Diff line change
Expand Up @@ -191,7 +191,6 @@ class UniversalKriging:
Here you can select the algorithm to compute the pseudo-inverse matrix:
* `"pinv"`: use `pinv` from `scipy` which uses `lstsq`
* `"pinv2"`: use `pinv2` from `scipy` which uses `SVD`
* `"pinvh"`: use `pinvh` from `scipy` which uses eigen-values
Default: `"pinv"`
Expand Down
1 change: 0 additions & 1 deletion pykrige/uk3d.py
Original file line number Diff line number Diff line change
Expand Up @@ -186,7 +186,6 @@ class UniversalKriging3D:
Here you can select the algorithm to compute the pseudo-inverse matrix:
* `"pinv"`: use `pinv` from `scipy` which uses `lstsq`
* `"pinv2"`: use `pinv2` from `scipy` which uses `SVD`
* `"pinvh"`: use `pinvh` from `scipy` which uses eigen-values
Default: `"pinv"`
Expand Down

0 comments on commit bb9858f

Please sign in to comment.