Skip to content

Commit

Permalink
Fix kazmarz rowindex
Browse files Browse the repository at this point in the history
  • Loading branch information
jonschumacher committed May 27, 2024
1 parent 2890647 commit a4b94a3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Kaczmarz.jl
Original file line number Diff line number Diff line change
Expand Up @@ -120,9 +120,9 @@ function init!(solver::Kaczmarz, b; x0 = 0)
if λ_ != λ_prev
# A must be unchanged, since we do not store the original SM
_, solver.denom, solver.rowindex = initkaczmarz(solver.A, λ_)
solver.rowIndexCycle = collect(1:length(rowindex))
solver.rowIndexCycle = collect(1:length(solver.rowindex))
if solver.randomized
solver.probabilities = T.(rowProbabilities(solver.A, rowindex))
solver.probabilities = T.(rowProbabilities(solver.A, solver.rowindex))
end
end

Expand Down

0 comments on commit a4b94a3

Please sign in to comment.