Skip to content

Commit

Permalink
Comment out the 'clearComponentValues' call.
Browse files Browse the repository at this point in the history
It crashes Antimony.
  • Loading branch information
luciansmith committed Aug 20, 2024
1 parent 68d1e16 commit d4b1661
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/sbml/SBMLTransforms.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -545,6 +545,9 @@ SBMLTransforms::getComponentIds(const Model* m)
void
SBMLTransforms::clearComponentValues(const Model* m)
{
if (mModelValues.empty()) {
return;
}
if (!m)
{
// clear all maps if no model specified
Expand Down Expand Up @@ -1260,7 +1263,7 @@ SBMLTransforms::expandInitialAssignments(Model * m)
while(count > 0 && needToBail == false);

// clear the internal map of values
clearComponentValues(m);
//clearComponentValues(m);

return true;
}
Expand Down

0 comments on commit d4b1661

Please sign in to comment.