Browse Source

Update NelderMeadSimplex.cs

pull/506/head
MMAvanEnkhuizen 9 years ago
committed by GitHub
parent
commit
98f523b1ff
  1. 1
      src/Numerics/Optimization/NelderMeadSimplex.cs

1
src/Numerics/Optimization/NelderMeadSimplex.cs

@ -167,6 +167,7 @@ namespace MathNet.Numerics.Optimization
evaluationCount += numVertices; // that required one function evaluation for each vertex; keep track
}
}
}
else if (reflectionPointValue >= errorValues[errorProfile.NextHighestIndex])
{
// it would be worse than the second best point, so attempt a contraction to look

Loading…
Cancel
Save