Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

derivative and adjoint's kwargs not passed to lsqr and lsmr #71

Open
GGooeytoe opened this issue Jan 13, 2025 · 0 comments
Open

derivative and adjoint's kwargs not passed to lsqr and lsmr #71

GGooeytoe opened this issue Jan 13, 2025 · 0 comments

Comments

@GGooeytoe
Copy link

derivative and adjoint_derivative in solve_and_derivative_internal do not actually pass their kwargs (particularly tolerances) to lsqr or lsmr solvers. lsmr appears to use different, hardcoded, tolerances for forward and reverse modes.

dz = _diffcp.lsqr(M, rhs).solution

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

No branches or pull requests

1 participant