We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 17b6be5 commit f7b277dCopy full SHA for f7b277d
source/framework/algorithm/include/lue/framework/algorithm/definition/accu_trigger.hpp
@@ -150,12 +150,12 @@ namespace lue {
150
151
// Now we know the final, total amount of inflow that enters this cell
152
153
- // Assume the trigger is exceeded ...
+ // Assume the trigger is reached ...
154
outflow += external_inflow;
155
remainder = 0;
156
157
// ... but if not, store the material
158
- if (outflow <= trigger)
+ if (outflow < trigger)
159
{
160
std::swap(outflow, remainder);
161
}
0 commit comments