Squashed 'phreeqcpp/' changes from e4c4cf3..587223f

587223f Extra check to not dump negative user numbers

git-subtree-dir: phreeqcpp
git-subtree-split: 587223f4d35ddca5105498f1f0ef31638f748562
This commit is contained in:
Darth Vader 2024-07-11 17:08:34 +00:00
parent 2abb0b0bcd
commit 9a4caf7def

View File

@ -1897,7 +1897,8 @@ namespace Utilities
for (it = b.begin(); it != b.end(); ++it)
{
// Adding logic to dump only non-negative entities
if (it->second.Get_n_user() >= 0)
//if (it->second.Get_n_user() >= 0)
if (it->first >= 0 && it->second.Get_n_user() >= 0)
{
it->second.dump_raw(s_oss, indent);
}