Skip to content

Retcode not correctly set #507

Closed
@termi-official

Description

@termi-official
A = rand(4, 4)
b = rand(4)
prob = LinearProblem(A, b)
sol1 = solve(prob)
sol2 = solve(prob, KrylovJL_CG())

Problem: ReturnCode is Default
Expectation: ReturnCode should be Success (for sol1) or Failure/MaxIters (for sol2)

A = zeros(4, 4)
b = rand(4)
prob = LinearProblem(A, b)
sol = solve(prob)

Works as expected.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions