From a4b94a35addb65ea433b9869b6884b697b524fff Mon Sep 17 00:00:00 2001 From: jonschumacher Date: Mon, 27 May 2024 12:12:25 +0200 Subject: [PATCH] Fix kazmarz rowindex --- src/Kaczmarz.jl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Kaczmarz.jl b/src/Kaczmarz.jl index 842d1674..84562674 100644 --- a/src/Kaczmarz.jl +++ b/src/Kaczmarz.jl @@ -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