mirror of
https://git.salome-platform.org/gitpub/modules/smesh.git
synced 2024-12-28 02:10:35 +05:00
PAL13639 (EDF PAL 317 : SMESH : Create "0D Hypothesis")
fix compensateError() for adjustNeighbors2an = true
This commit is contained in:
parent
6b6445986f
commit
65af9ddd30
@ -348,7 +348,7 @@ static void compensateError(double a1, double an,
|
||||
double sign = reverse ? -1 : 1;
|
||||
double prevU = theParams.back();
|
||||
itU = theParams.rbegin();
|
||||
for ( ++itU, i = 1; i < nPar; ++itU, i++ ) {
|
||||
for ( ++itU, i = 2; i < nPar; ++itU, i++ ) {
|
||||
double newU = *itU + dUn;
|
||||
if ( newU*sign < prevU*sign ) {
|
||||
prevU = *itU = newU;
|
||||
|
Loading…
Reference in New Issue
Block a user