mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-01-16 01:41:56 -06:00
Avoid ambiguous call of std::abs.
This commit is contained in:
parent
72a9827c8a
commit
5579caaa66
@ -326,7 +326,7 @@ private:
|
||||
for (unsigned i = 0; i < areaNormal.size(); ++i)
|
||||
val += areaNormal[i]*distance[i];
|
||||
|
||||
halfTrans *= std::abs<Scalar>(val);
|
||||
halfTrans *= std::abs(val);
|
||||
halfTrans /= distance.two_norm2();
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user