Skip to content

Commit

Permalink
Issue #3671 Allowing the processing of attribute from OpenModelica XML
Browse files Browse the repository at this point in the history
Attribute is ignored, leading to a potentially singular equation
  • Loading branch information
jaeandersson committed Apr 25, 2024
1 parent 2667029 commit a5bdd2f
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions casadi/core/dae_builder_internal.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1452,6 +1452,9 @@ std::string DaeBuilderInternal::qualified_name(const XmlNode& nn, Attribute* att
casadi_error("Ignoring attribute " + np);
}
continue;
} else if (np == "$PRE") {
casadi_warning("$PRE attribute has not been implemented, ignoring");
continue;
}

// Add the name part to the variable name
Expand Down

0 comments on commit a5bdd2f

Please sign in to comment.