Skip to content

Trivial (length 0 state) NonlinearLeastSquaresProblem always returns success #387

Closed
SciML/DiffEqBase.jl
#1015
@ChrisRackauckas

Description

@ChrisRackauckas

Here's a fun edge case:

using NonlinearSolve
function unsat(du,u,p)
    du[1] = 1
end
unsatprob = NonlinearLeastSquaresProblem(f, nothing)
sol = solve(unsatprob) # Success

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