Skip to content

Commit 17fd8ca

Browse files
authored
Update optimization_functions.jl (quick fix)
1 parent 4256312 commit 17fd8ca

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/optimization_functions.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -712,7 +712,7 @@ function train_OrderModel!(mws::AdamWorkspace; ignore_regularization::Bool=false
712712

713713
# optionally shift the score means to be near 0
714714
# KM: ignore this setting if telluric priors are used
715-
if shift_scores && !om.metadata[:tel_prior]
715+
if shift_scores && !mws.om.metadata[:tel_prior]
716716
if !(typeof(mws) <: FrozenTelWorkspace)
717717
remove_lm_score_means!(mws.om.tel.lm; prop=0.2)
718718
end

0 commit comments

Comments
 (0)