Skip to content

Commit

Permalink
bug fix RecoParameters noise decorrelation
Browse files Browse the repository at this point in the history
  • Loading branch information
Laura Beghini committed Feb 27, 2023
1 parent 44b8978 commit cebf37a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/Reconstruction/RecoParameters.jl
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,8 @@ function setupIterativeReco(acqData::AcquisitionData{T}, recoParams::Dict) where
if isempty(noiseData)
L_inv = nothing
else
L = cholesky(covariance(noiseData), check = true)
psi = convert(typeof(noiseData), covariance(noiseData))
L = cholesky(psi, check = true)
L_inv = inv(L.L) #noise decorrelation matrix
end

Expand Down

0 comments on commit cebf37a

Please sign in to comment.