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:
Atgeirr Flø Rasmussen 2015-05-26 16:50:49 +02:00
parent 3246fd479d
commit 4a4039e448

View File

@ -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);
}