Skip to content

Commit 24bf834

Browse files
authored
Fix warn syntax
1 parent c5f94a2 commit 24bf834

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/lsfft.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -253,7 +253,7 @@ function ls_spectral_lpv(Y::AbstractVector,X::AbstractVector,V::AbstractVector,w
253253
e = AA*real_params-Y
254254
Σ = var(e)*inv(AA'AA + λ*I)
255255
fva = 1-var(e)/var(Y)
256-
fva < 0.9 && warn("Fraction of variance explained = $(fva)")
256+
fva < 0.9 && @warn("Fraction of variance explained = $(fva)")
257257
SpectralExt(Y, X, V, w, Nv, λ, coulomb, normalize, params, Σ)
258258

259259
end

0 commit comments

Comments
 (0)