From: eap Date: Mon, 10 Jan 2011 13:38:08 +0000 (+0000) Subject: some cosmetic change X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=59b0f70ebec03bb3daba999cb2e465ebd9bee7d9;p=modules%2Fsmesh.git some cosmetic 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 =