Skip to content

Commit

Permalink
adapt type of regularization parameter to element-type of Acquisition…
Browse files Browse the repository at this point in the history
…Data
  • Loading branch information
migrosser committed Sep 30, 2022
1 parent d9d2203 commit b84a9ee
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Reconstruction/RecoParameters.jl
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ function setupIterativeReco(acqData::AcquisitionData{T}, recoParams::Dict) where

# bare regularization (without sparsifying transform)
regName = get(recoParams, :regularization, "L1")
λ = get(recoParams,,0.0)
λ = T(get(recoParams,,0.0))
reg = Regularization(regName, λ; shape=reconSize, recoParams...)

# normalize regularizer ?
Expand Down

0 comments on commit b84a9ee

Please sign in to comment.