Skip to content

Commit 6a1ddcd

Browse files
committed
Fix Kaczmarz rowindex
1 parent 3fad86d commit 6a1ddcd

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Kaczmarz.jl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -181,9 +181,9 @@ function init!(solver::Kaczmarz, state::KaczmarzState{T, vecT}, b::vecT; x0 = 0)
181181
if λ_ != λ_prev
182182
# A must be unchanged, since we do not store the original SM
183183
_, solver.denom, solver.rowindex = initkaczmarz(solver.A, λ_)
184-
solver.rowIndexCycle = collect(1:length(rowindex))
184+
solver.rowIndexCycle = collect(1:length(solver.rowindex))
185185
if solver.randomized
186-
solver.probabilities = T.(rowProbabilities(solver.A, rowindex))
186+
solver.probabilities = T.(rowProbabilities(solver.A, solver.rowindex))
187187
end
188188
end
189189

0 commit comments

Comments
 (0)