Skip to content

Commit

Permalink
Merge pull request #153 from fbergmann/issue-152-clear-name
Browse files Browse the repository at this point in the history
Fix for issue #152: clear…
  • Loading branch information
fbergmann authored Sep 7, 2021
2 parents 39bdb7c + 279c59c commit 7d323ca
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/sedml/SedBase.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -709,7 +709,7 @@ int SedBase::setName(const std::string& name)
{
if (name.empty())
{
mId.erase();
mName.erase();
return LIBSEDML_OPERATION_SUCCESS;
}
else if (!mNameAllowedPreV4 && getVersion() < 4 && getLevel() == 1)
Expand Down

0 comments on commit 7d323ca

Please sign in to comment.