Skip to content

Commit

Permalink
Fix warning spam for SMExtrpolation and MultiPatchPeriodicMotion meth…
Browse files Browse the repository at this point in the history
…od error
  • Loading branch information
nHackel committed May 31, 2024
1 parent 74d3443 commit d347ad1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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)

Expand Down
2 changes: 1 addition & 1 deletion src/SystemMatrix/SMExtrapolation.jl
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit d347ad1

Please sign in to comment.