From: eap Date: Tue, 18 Jan 2011 11:02:03 +0000 (+0000) Subject: minor change X-Git-Tag: StartingPortingMED3~154 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=7b1bae16514789398bf27d72051281ec360c87ad;p=modules%2Fsmesh.git minor change --- diff --git a/src/SMESH/SMESH_Block.cxx b/src/SMESH/SMESH_Block.cxx index 6d20d6be8..c03fe30c3 100644 --- a/src/SMESH/SMESH_Block.cxx +++ b/src/SMESH/SMESH_Block.cxx @@ -383,8 +383,8 @@ bool SMESH_Block::ShellPoint(const gp_XYZ& theParams, if ( thePointOnShape.size() < ID_F1yz ) return false; - double x = theParams.X(), y = theParams.Y(), z = theParams.Z(); - double x1 = 1. - x, y1 = 1. - y, z1 = 1. - z; + const double x = theParams.X(), y = theParams.Y(), z = theParams.Z(); + const double x1 = 1. - x, y1 = 1. - y, z1 = 1. - z; const vector& p = thePointOnShape; thePoint =