From 5d40e69cc7fcc5bca0037ee70d9d64e4c370e5dd Mon Sep 17 00:00:00 2001 From: Scott Charlton Date: Tue, 14 Aug 2018 19:55:28 -0700 Subject: [PATCH] [IPhreeqc] added parens for clang++ -Wlogical-op-parentheses --- transport.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/transport.cpp b/transport.cpp index 7cdba798..837c772e 100644 --- a/transport.cpp +++ b/transport.cpp @@ -973,8 +973,8 @@ void Phreeqc:: print_punch(int i, boolean active) /* ---------------------------------------------------------------------- */ { - if (!(cell_data[i].punch && (transport_step % punch_modulus == 0)) && - !(cell_data[i].print && (transport_step % print_modulus == 0)) || + if ((!(cell_data[i].punch && (transport_step % punch_modulus == 0)) && + !(cell_data[i].print && (transport_step % print_modulus == 0))) || (bcon_first == 2 && i == 0) || (bcon_last == 2 && i == count_cells + 1)) return;