You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I guess the intention is to specify that only the first call of clean!(model) may modify model, and any subsequent calls must not make further changes to model. But clean!() doesn't return a model, it returns a string containing warnings. clean!(clean!(model)) doesn't even compile.
I'm afraid I can't suggest a good fix for the problem, because I don't know if there's a good way to express as Julia code the requirement that subsequent calls of clean!() must not change the model.
I guess this requirement also implies that subsequent calls of clean!() must return an empty string, but I'm not sure.
The text was updated successfully, but these errors were encountered:
Line 159 of adding_models_for_general_use.md says:
clean!(clean!(model)) == clean!(model)
I guess the intention is to specify that only the first call of
clean!(model)
may modifymodel
, and any subsequent calls must not make further changes tomodel
. Butclean!()
doesn't return a model, it returns a string containing warnings.clean!(clean!(model))
doesn't even compile.I'm afraid I can't suggest a good fix for the problem, because I don't know if there's a good way to express as Julia code the requirement that subsequent calls of
clean!()
must not change the model.I guess this requirement also implies that subsequent calls of
clean!()
must return an empty string, but I'm not sure.The text was updated successfully, but these errors were encountered: