Skip to content

Commit

Permalink
Update lib/SCCNonlinearSolve/test/core_tests.jl
Browse files Browse the repository at this point in the history
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
  • Loading branch information
ChrisRackauckas and github-actions[bot] authored Nov 15, 2024
1 parent 0531056 commit 2a0bb64
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/SCCNonlinearSolve/test/core_tests.jl
Original file line number Diff line number Diff line change
Expand Up @@ -68,8 +68,8 @@ end
end

# TODO: fix allocations with a lazy concatenation
u .= reduce(vcat,sols)
resid .= reduce(vcat,getproperty.(sols,:resid))
u .= reduce(vcat, sols)
resid .= reduce(vcat, getproperty.(sols, :resid))

SciMLBase.build_solution(prob, alg, u, resid, original = sols)
end
Expand Down

0 comments on commit 2a0bb64

Please sign in to comment.