Salome HOME
Porting to CAS-6.2.1sp1
[modules/smesh.git] / src / SMESH / SMESH_Block.cxx
index dfde6865af8b10caa5f6a637299d1c7542bb5e31..59d48a9786386d0c0642aacbb1bf9069e764dce6 100644 (file)
@@ -21,6 +21,8 @@
 // Created   : Mon Aug  2 10:30:00 2004
 // Author    : Edward AGAPOV (eap)
 
+using namespace std;
+
 #include "SMESH_Block.hxx"
 
 #include <BRepAdaptor_Curve.hxx>
@@ -726,8 +728,8 @@ bool SMESH_Block::ComputeParameters(const gp_Pnt& thePoint,
     start = *bestParam;
   }
 
-  int    myFaceIndex = -1;
-  double myFaceParam = 0.;
+  myFaceIndex = -1;
+  myFaceParam = 0.;
   if ( isOnFace ) {
     // put a point on the face
     for ( int iCoord = 0; iCoord < 3; iCoord++ )