Use more traditional comparison: "a!=b" rather than "!(a==b)"

git-svn-id: http://svn.sintef.no/simmatlab/branches/mrst-reorg/mex/libgeometry@9310 ea62cf4e-aff8-4dd6-bb37-af94872dbd4c

Signed-off-by: Bård Skaflestad <Bard.Skaflestad@sintef.no>
This commit is contained in:
Bård Skaflestad
2012-06-25 19:59:10 +00:00
committed by Bård Skaflestad
parent 5d5404aebf
commit 4e4666a2de

View File

@@ -212,7 +212,7 @@ compute_cell_geometry(int ndims, double *coords,
if(subnormal_sign<0){
tet_volume*=-1.0;
}
if(!(neighbors[2*face+0]==c)){
if (neighbors[2*face + 0] != c) {
tet_volume*=-1.0;
}