Skip to content

Commit

Permalink
Squashed 'src/' changes from e4c4cf31..587223f4
Browse files Browse the repository at this point in the history
587223f4 Extra check to not dump negative user numbers

git-subtree-dir: src
git-subtree-split: 587223f4d35ddca5105498f1f0ef31638f748562
  • Loading branch information
Darth Vader committed Jul 11, 2024
1 parent ab14169 commit b873cb9
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Phreeqc.h
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
Expand Down

0 comments on commit b873cb9

Please # to comment.