Salome HOME
Regression of SALOME_TESTS/Grids/smesh/imps_08/I8
[modules/smesh.git] / src / Controls / SMESH_Controls.cxx
index 695eaa5b240d3eecfd713c8627f8be1bb73a0663..e7e61b1132ced57e492509ed67d9371d752296b8 100644 (file)
@@ -307,7 +307,7 @@ double NumericalFunctor::GetValue( long theId )
   myCurrElement = myMesh->FindElement( theId );
 
   TSequenceOfXYZ P;
-  if ( GetPoints( theId, P ))
+  if ( GetPoints( theId, P )) // elem type is checked here
     aVal = Round( GetValue( P ));
 
   return aVal;