From: Pawel Date: Mon, 16 Jul 2012 11:22:07 +0000 (+0200) Subject: 0023287: IntPolyh_MaillageAffinage.cxx, line 2217: "identical sub-expressions to... X-Git-Tag: V6_5_4_beta1~122 X-Git-Url: http://git.dev.opencascade.org/gitweb/?a=commitdiff_plain;h=35958a584704d20130acd594d6a04526e4e269ce;p=occt-copy.git 0023287: IntPolyh_MaillageAffinage.cxx, line 2217: "identical sub-expressions to the left and to the right of the '-' operator" The expression Abs(PEP1.U()-PEP1.U()) changed to Abs(PEP1.U()-PEP2.U()) In this case the points are equal and so the points number can be reduced to '1'. --- diff --git a/src/IntPolyh/IntPolyh_MaillageAffinage.cxx b/src/IntPolyh/IntPolyh_MaillageAffinage.cxx index 17a85e8c4b..4affa9df76 100755 --- a/src/IntPolyh/IntPolyh_MaillageAffinage.cxx +++ b/src/IntPolyh/IntPolyh_MaillageAffinage.cxx @@ -2214,7 +2214,7 @@ void CalculPtsInterTriEdgeCoplanaires(const Standard_Integer TriSurfID, } if (NbPoints!=0) { - if (Abs(PEP1.U()-PEP1.U())