mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-02-20 11:48:25 -06:00
Introduce parenthesis to preserve old evaluation order.
While results would be equivalent, they would not be identical to old results without this.
This commit is contained in:
parent
3246fd479d
commit
4a4039e448
@ -1616,7 +1616,7 @@ namespace detail {
|
||||
const ADB& mob = rq_[ actph ].mob;
|
||||
const ADB& dh = rq_[ actph ].dh;
|
||||
UpwindSelector<double> upwind(grid_, ops_, dh.value());
|
||||
rq_[ actph ].mflux = upwind.select(b * mob) * transi * dh;
|
||||
rq_[ actph ].mflux = upwind.select(b * mob) * (transi * dh);
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user