Skip to content

Commit

Permalink
Error
Browse files Browse the repository at this point in the history
  • Loading branch information
mivanicERS committed Jan 29, 2025
1 parent f3ccdad commit 68009db
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/initialize_model!.jl
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,10 @@ function initialize_model!(mc)
if Symbol(k) keys(object_dictionary(mc.model))
if mc.data[k] isa NamedArray
set_start_value.(mc.model[Symbol(k)], Array(mc.data[k]))
unfix.(mc.model[Symbol(k)])
unfix.(mc.model[Symbol(k)][is_fixed.(mc.model[Symbol(k)])])
else
set_start_value.(mc.model[Symbol(k)], mc.data[k])
unfix.(mc.model[Symbol(k)])
unfix.(mc.model[Symbol(k)][is_fixed.(mc.model[Symbol(k)])])
end
end
end
Expand Down

0 comments on commit 68009db

Please sign in to comment.