From 1ee1aea7333a0f0bfc8d1fcb5ba5396ad203608f Mon Sep 17 00:00:00 2001 From: eap Date: Fri, 12 Feb 2016 19:21:14 +0300 Subject: [PATCH] 23236: EDF 12346 - Problem with Local Size --- src/BLSURFPlugin/BLSURFPlugin_BLSURF.cxx | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/BLSURFPlugin/BLSURFPlugin_BLSURF.cxx b/src/BLSURFPlugin/BLSURFPlugin_BLSURF.cxx index fbb7a8f..58a0c0f 100644 --- a/src/BLSURFPlugin/BLSURFPlugin_BLSURF.cxx +++ b/src/BLSURFPlugin/BLSURFPlugin_BLSURF.cxx @@ -578,7 +578,7 @@ void createAttractorOnFace(TopoDS_Shape GeomShape, std::string AttractorFunction double a, b; // Attractor parameter double d = 0.; bool createNode=false; // To create a node on attractor projection - int pos1, pos2; + size_t pos1, pos2; const char *sep = ";"; // atIt->second has the following pattern: // ATTRACTOR(xa;ya;za;a;b;True|False;d) @@ -1169,7 +1169,7 @@ void BLSURFPlugin_BLSURF::SetParameters(const BLSURFPlugin_Hypothesis* hyp, MESSAGE("Geomtype is " << GeomType); int key = -1; // Group Management - if (GeomType == TopAbs_COMPOUND){ + if (GeomType == TopAbs_COMPOUND) { for (TopoDS_Iterator it (GeomShape); it.More(); it.Next()){ // Group of faces if (it.Value().ShapeType() == TopAbs_FACE){ @@ -3092,7 +3092,6 @@ bool BLSURFPlugin_BLSURF::compute(SMESH_Mesh& aMesh, } // SetIsAlwaysComputed( true ) to sub-meshes of EDGEs w/o mesh - TopLoc_Location loc; double f,l; for (int i = 1; i <= emap.Extent(); i++) if ( SMESH_subMesh* sm = aMesh.GetSubMeshContaining( emap( i ))) sm->SetIsAlwaysComputed( true ); -- 2.39.2