From d347ad188e8e6b735c367abc708b961dc4cdafb4 Mon Sep 17 00:00:00 2001 From: nHackel Date: Fri, 31 May 2024 17:15:57 +0200 Subject: [PATCH] Fix warning spam for SMExtrpolation and MultiPatchPeriodicMotion method error --- src/Algorithms/MultiPatchAlgorithms/MultiPatchPeriodicMotion.jl | 2 +- src/SystemMatrix/SMExtrapolation.jl | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Algorithms/MultiPatchAlgorithms/MultiPatchPeriodicMotion.jl b/src/Algorithms/MultiPatchAlgorithms/MultiPatchPeriodicMotion.jl index f632102..4cdaccd 100644 --- a/src/Algorithms/MultiPatchAlgorithms/MultiPatchPeriodicMotion.jl +++ b/src/Algorithms/MultiPatchAlgorithms/MultiPatchPeriodicMotion.jl @@ -78,7 +78,7 @@ function process(algo::MultiPatchReconstructionAlgorithm, end function process(algo::MultiPatchReconstructionAlgorithm, params::PeriodicMotionReconstructionParameter, u::Array) - solver = LeastSquaresParameters(solver = Kaczmarz, S = algo.ffOp, reg = [L2Regularization(params.λ)], solverParams = params.solverParams) + solver = LeastSquaresParameters(S = algo.ffOp, reg = [L2Regularization(params.λ)], solverParams = params.solverParams) result = process(algo, solver, u) diff --git a/src/SystemMatrix/SMExtrapolation.jl b/src/SystemMatrix/SMExtrapolation.jl index 8bc45a0..4b7336b 100644 --- a/src/SystemMatrix/SMExtrapolation.jl +++ b/src/SystemMatrix/SMExtrapolation.jl @@ -154,7 +154,7 @@ function fillmissing(A::Array; method::Integer=1) # build solver reg = L1Regularization(0.01; shape=(length(lidx_work),length(lidx_unknown))) # shape not necessary here - solver = createLinearSolver(ADMM,Δ[lidx_work, lidx_unknown];reg=reg, ρ=0.1, iterations=5) + solver = createLinearSolver(ADMM,Δ[lidx_work, lidx_unknown];reg=reg, rho=0.1, iterations=5) # Solving B = copy(A)