mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
Add parentheses in unclear expressions when suggested by gcc 7.3.1 on linux
This commit is contained in:
parent
656010ffb9
commit
b93b92cae2
@ -606,7 +606,7 @@ cvf::Vec3d
|
||||
GeometryTools::barycentricCoords( const cvf::Vec3d& t0, const cvf::Vec3d& t1, const cvf::Vec3d& t2, const cvf::Vec3d& p )
|
||||
{
|
||||
// Unnormalized triangle normal
|
||||
cvf::Vec3d m = ( t1 - t0 ^ t2 - t0 );
|
||||
cvf::Vec3d m = ( ( t1 - t0 ) ^ ( t2 - t0 ) );
|
||||
|
||||
// Absolute components for determining projection plane
|
||||
int X = 0, Y = 1;
|
||||
|
Loading…
Reference in New Issue
Block a user