sbmlteam / libsbml

LibSBML is a native library for reading, writing and manipulating files and data streams containing the Systems Biology Markup Language (SBML). It offers language bindings for C, C++, C#, Java, JavaScript, MATLAB, Perl, PHP, Python, R and Ruby.
https://sbml.org/software/libsbml
Other
41 stars 28 forks source link

A hack fix for issue 320, but it works. #413

Closed luciansmith closed 1 day ago

luciansmith commented 1 day ago

This fixes the bug in Antimony where somehow the order of deletion causes a crash here at the end of the program. It wouldn't work if I actually used mModelValues, but I don't, and figuring out the actual cause is too much work, sadly.

No tests added, because it's been impossible to recreate this situation anywhere other than in the Antimony test program.