Skip to content

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

@GGooeytoe

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

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