diff options
Diffstat (limited to 'js/NonLinear/LOOKUP2D.js')
-rw-r--r-- | js/NonLinear/LOOKUP2D.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/js/NonLinear/LOOKUP2D.js b/js/NonLinear/LOOKUP2D.js index 1bd80e3d..9576a841 100644 --- a/js/NonLinear/LOOKUP2D.js +++ b/js/NonLinear/LOOKUP2D.js @@ -64,12 +64,12 @@ if (!((nx==nz)&&(ny==mz))) { x_message("incompatible size of x and y"); Ask_again=true; } -[ok]=test_increasing[xx-1]; +[ok]=test_increasing(xx); if ((!ok)) { x_message("Row input values must be monotonically increasing"); Ask_again=true; } -[ok]=test_increasing[yy-1]; +[ok]=test_increasing(yy); if ((!ok)) { x_message("Column input values must be monotonically increasing"); Ask_again=true; |