Skip to content

Fix retcodes on staticarray overloads #634

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

Merged
merged 2 commits into from
Jul 15, 2025
Merged

Fix retcodes on staticarray overloads #634

merged 2 commits into from
Jul 15, 2025

Conversation

ChrisRackauckas
Copy link
Member

Fixes #633

end
return SciMLBase.build_linear_solution(alg, u, nothing, prob)
u = prob.A \ prob.b
return SciMLBase.build_linear_solution(alg, u, nothing, prob; retcode = ReturnCode.Success)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[JuliaFormatter] reported by reviewdog 🐶

Suggested change
return SciMLBase.build_linear_solution(alg, u, nothing, prob; retcode = ReturnCode.Success)
return SciMLBase.build_linear_solution(
alg, u, nothing, prob; retcode = ReturnCode.Success)

@@ -348,5 +332,5 @@
cache = init(prob, alg, args...; kwargs...)
return solve!(cache)
end
return SciMLBase.build_linear_solution(alg, u, nothing, prob)
return SciMLBase.build_linear_solution(alg, u, nothing, prob; retcode = ReturnCode.Success)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[JuliaFormatter] reported by reviewdog 🐶

Suggested change
return SciMLBase.build_linear_solution(alg, u, nothing, prob; retcode = ReturnCode.Success)
return SciMLBase.build_linear_solution(
alg, u, nothing, prob; retcode = ReturnCode.Success)

@ChrisRackauckas ChrisRackauckas merged commit c626383 into main Jul 15, 2025
20 of 29 checks passed
@ChrisRackauckas ChrisRackauckas deleted the retcodes2 branch July 15, 2025 12:59
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

Successfully merging this pull request may close these issues.

Broken retcodes for SArray linear solves:
1 participant