minor changes to allow compiling with clang
2 unresolved threads
2 unresolved threads
Merge request reports
Activity
assigned to @sebastien
1014 { 1015 cerr << "ERROR: the model equation defining the 'target' of 'pac_target_info(" << name << ")' contains a variable (" << symbol_table.getName(var) << ") that is not declared as a 'component'" << endl; 1016 exit(EXIT_FAILURE); 1017 } 1009 { 1010 auto tmp = dynamic_model.AddVariable(var); 1011 if (auto it = find_if(components.begin(), components.end(), 1012 [& tmp = tmp](const auto &v) { return get<0>(v) == tmp; }); 1013 it != components.end()) 1014 get<4>(*it) = coeff; 1015 else 1016 { 1017 cerr << "ERROR: the model equation defining the 'target' of 'pac_target_info(" << name << ")' contains a variable (" << symbol_table.getName(var) << ") that is not declared as a 'component'" << endl; 1018 exit(EXIT_FAILURE); 1019 } 1020 } Thanks @sebastien. I will test
mentioned in merge request !58 (closed)
mentioned in issue dynare#1833 (closed)
Please register or sign in to reply