From 7a57f9da6efcfa9ea48839aa2eebd960fef17093 Mon Sep 17 00:00:00 2001 From: eap Date: Thu, 9 Feb 2012 12:30:06 +0000 Subject: [PATCH] 0021489: EDF 2096: Regression in Prism algorithm between 6.3.1 and 6.4.0 fix LoadNodeColumns() --- src/SMESH/SMESH_MesherHelper.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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++ ) -- 2.39.2