Skip to content

Commit

Permalink
Fix copy-paste typo
Browse files Browse the repository at this point in the history
  • Loading branch information
pabloferz authored Aug 15, 2024
1 parent d7199ec commit caa41c0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pysages/utils/core.py
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ def linear_solver(use_pinv: bool):
When `use_pinv == True`, `numpy.linalg.pinv` is used rather than `scipy.linalg.solve`
(this is computationally more expensive but numerically more stable).
"""
if method.use_pinv:
if use_pinv:

# This is numerically more robust
def tsolve(A, B):
Expand Down

0 comments on commit caa41c0

Please sign in to comment.