Skip to content

Commit

Permalink
Refactor solversolution function to accept AbstractMatrixSolverState
Browse files Browse the repository at this point in the history
  • Loading branch information
nHackel committed Aug 13, 2024
1 parent a7c4cf1 commit 9b9e47f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/MultiThreading.jl
Original file line number Diff line number Diff line change
Expand Up @@ -65,4 +65,4 @@ function iterate(solver::AbstractLinearSolver, state::MultiThreadingState, activ
return state.active, state
end

solversolution(state::Union{SequentialState, MultiThreadingState}) = mapreduce(solversolution, hcat, state.states)
solversolution(state::AbstractMatrixSolverState) = mapreduce(solversolution, hcat, state.states)

0 comments on commit 9b9e47f

Please sign in to comment.