mirror of
https://github.com/OPM/ResInsight.git
synced 2026-10-16 10:22:15 -05:00
Add parentheses in unclear expressions when suggested by gcc 7.3.1 on linux
This commit is contained in:
1 parent
656010ffb9
commit
b93b92cae2
1 file changed
+1
-1
@@ -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;
|
||||
|
||||
Reference in new issue
Block a user