From: vbd Date: Thu, 13 Sep 2007 14:37:53 +0000 (+0000) Subject: staffan : X-Git-Tag: trio_trio_coupling~38 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=bcc03913ac2c9b9f448a210ed4b6c86d65b4097f;p=tools%2Fmedcoupling.git staffan : * removed problematic assertion --- diff --git a/src/INTERP_KERNEL/TransformedTriangle_intersect.cxx b/src/INTERP_KERNEL/TransformedTriangle_intersect.cxx index b198dea92..780fa652d 100644 --- a/src/INTERP_KERNEL/TransformedTriangle_intersect.cxx +++ b/src/INTERP_KERNEL/TransformedTriangle_intersect.cxx @@ -363,9 +363,12 @@ namespace INTERP_UTILS // pt[i] = (c1*s1 + c2*s2) / (s1^2 + s2^2) pt[i] = (c[0] * s[0] + c[1] * s[1]) / denominator; + + // strange bug with -O2 enabled : assertion fails when we don't have the following + // trace - line //std::cout << "pt[i] = " << pt[i] << std::endl; - assert(pt[i] >= 0.0); // check we are in tetraeder - assert(pt[i] <= 1.0); + //assert(pt[i] >= 0.0); // check we are in tetraeder + //assert(pt[i] <= 1.0); } }