Skip to content

Fix cg() TypeError with recent CuPy/SciPy: tol renamed to rtol - #25

Open
boryasbora wants to merge 1 commit into
FESOM:mainfrom
boryasbora:main
Open

Fix cg() TypeError with recent CuPy/SciPy: tol renamed to rtol#25
boryasbora wants to merge 1 commit into
FESOM:mainfrom
boryasbora:main

Conversation

@boryasbora

Copy link
Copy Markdown
  • What broke: cg() got an unexpected keyword argument 'tol'
  • Why: newer CuPy/SciPy renamed tol → rtol in scipy.sparse.linalg.cg / cupyx.scipy.sparse.linalg.cg
  • The fix: rename the kwarg being passed
  • Which versions tested against (CuPy 14.2.0, SciPy 1.18.1)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant