Skip to content

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

Description

@GGooeytoe

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

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions