Skip to content

Commit

Permalink
- compilation failed with assignment operator
Browse files Browse the repository at this point in the history
  • Loading branch information
fbergmann committed Mar 16, 2023
1 parent ea7d279 commit 12a8bcf
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/sbml/SBMLTransforms.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -246,7 +246,8 @@ SBMLTransforms::mapComponentValues(const Model * m)
{
IdValueMap values;
IdList result = getComponentValuesForModel(m, values);
mModelValues[m] = values;
mModelValues.erase(m);
mModelValues.insert(std::make_pair(m, values));
return result;
}

Expand Down

0 comments on commit 12a8bcf

Please sign in to comment.