From: eap Date: Thu, 9 Feb 2012 12:30:06 +0000 (+0000) Subject: 0021489: EDF 2096: Regression in Prism algorithm between 6.3.1 and 6.4.0 X-Git-Tag: V6_5_0a1~153 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=7a57f9da6efcfa9ea48839aa2eebd960fef17093;p=modules%2Fsmesh.git 0021489: EDF 2096: Regression in Prism algorithm between 6.3.1 and 6.4.0 fix LoadNodeColumns() --- diff --git a/src/SMESH/SMESH_MesherHelper.cxx b/src/SMESH/SMESH_MesherHelper.cxx index 47854cf6e..4804b8f48 100644 --- a/src/SMESH/SMESH_MesherHelper.cxx +++ b/src/SMESH/SMESH_MesherHelper.cxx @@ -1695,7 +1695,7 @@ bool SMESH_MesherHelper::LoadNodeColumns(TParam2ColumnMap & theParam2 double f, l; BRep_Tool::Range( *edge, f, l ); if ( edge->Orientation() == TopAbs_REVERSED ) std::swap( f, l ); - const double coeff = 1. / ( l - f ) / length[iE] / fullLen; + const double coeff = 1. / ( l - f ) * length[iE] / fullLen; const double prevPar = theParam2ColumnMap.empty() ? 0 : theParam2ColumnMap.rbegin()->first; map< double, const SMDS_MeshNode*>::iterator u_n = sortedBaseNodes.begin(); for ( ; u_n != sortedBaseNodes.end(); u_n++ )