Skip to content

Commit

Permalink
correction
Browse files Browse the repository at this point in the history
  • Loading branch information
aris-mav committed Dec 6, 2024
1 parent b4b1327 commit f84628e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/kernels.jl
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ to remove the "noisy" singular values.
"""
function create_kernel(seq::Type{<:pulse_sequence1D}, x::Vector, X::Vector, g::Vector{<:Real})

if x < X
if length(x) < length(X)
usv = svd(create_kernel(seq, x , X))
K_new = Diagonal(usv.S) * usv.V'
g_new = usv.U' * g
Expand Down

0 comments on commit f84628e

Please sign in to comment.