From: eap Date: Thu, 12 Oct 2017 13:01:07 +0000 (+0300) Subject: 23489: EDF 15587 - Problem with repositioning of nodes X-Git-Tag: V8_4_0rc1^0 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=b5a5605be48d3c73f12421d9003e296c5759a8b8;p=modules%2Fhomard.git 23489: EDF 15587 - Problem with repositioning of nodes --- diff --git a/src/FrontTrack/FrontTrack_Projector.cxx b/src/FrontTrack/FrontTrack_Projector.cxx index ce24d4b0..5a76d6cf 100755 --- a/src/FrontTrack/FrontTrack_Projector.cxx +++ b/src/FrontTrack/FrontTrack_Projector.cxx @@ -106,7 +106,7 @@ namespace // actual projection algorithms { gp_Pnt proj; Standard_Real param; - + if ( prevSolution ) { _dist = _projector.NextProject( prevSolution[0], _curve, P, _tol, proj, param ); @@ -114,8 +114,8 @@ namespace // actual projection algorithms else { _dist = _projector.Project( _curve, P, _tol, proj, param, false ); - proj = _curve.Value( param ); } + proj = _curve.Value( param ); newSolution[0] = param; diff --git a/src/FrontTrack/FrontTrack_Utils.cxx b/src/FrontTrack/FrontTrack_Utils.cxx index 129d4f37..53aef37a 100755 --- a/src/FrontTrack/FrontTrack_Utils.cxx +++ b/src/FrontTrack/FrontTrack_Utils.cxx @@ -138,7 +138,7 @@ int FT_Utils::XaoGroups::getProjectors( const std::string& gro // IDs in XAO correspond to indices of allProjectors std::set::iterator id = groups[i]->begin(), end = groups[i]->end(); for ( ; id != end; ++id, ++nbFound ) - if ( *id < allProjectors.size() ) + if ( *id < (int) allProjectors.size() ) groupProjectors.push_back ( & allProjectors[ *id ]); }