summaryrefslogtreecommitdiff
path: root/graphics/asymptote/base/simplex.asy
diff options
context:
space:
mode:
Diffstat (limited to 'graphics/asymptote/base/simplex.asy')
-rw-r--r--graphics/asymptote/base/simplex.asy2
1 files changed, 1 insertions, 1 deletions
diff --git a/graphics/asymptote/base/simplex.asy b/graphics/asymptote/base/simplex.asy
index 3488fdd417..c27b3236be 100644
--- a/graphics/asymptote/base/simplex.asy
+++ b/graphics/asymptote/base/simplex.asy
@@ -106,7 +106,7 @@ struct simplex {
real u=E[I][j];
if(u < -EpsilonA) {
real r=-E[m][j]/u;
- if(r <= t && (r < t || Bindices[j] < Bindices[J])) {
+ if(r <= t && (r < t || j < J)) {
t=r; J=j;
} // Bland's rule: exiting variable has smallest minimizing index
}