fix bug causing equation tags to be ignored when casting to StaticModel

(cherry picked from commit 05f00aa3)
parent da4ca9e3
Pipeline #2793 passed with stages
in 5 minutes and 50 seconds
......@@ -164,7 +164,7 @@ StaticModel::StaticModel(const DynamicModel &m) :
// Detect if equation is marked [dynamic]
bool is_dynamic_only = false;
vector<pair<string, string>> eq_tags;
for (const auto & [tagged_eq, tag_pair] : equation_tags)
for (const auto & [tagged_eq, tag_pair] : m.equation_tags)
if (tagged_eq == i)
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment