diff options
Diffstat (limited to 'js/NonLinear/TrigFun.js')
-rw-r--r-- | js/NonLinear/TrigFun.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/js/NonLinear/TrigFun.js b/js/NonLinear/TrigFun.js index 97b73bf3..776e2309 100644 --- a/js/NonLinear/TrigFun.js +++ b/js/NonLinear/TrigFun.js @@ -28,7 +28,7 @@ function TrigFun() { if (!ok) { break; } - if (find(PREVAR_FF==this.fun)==[]) { + if (find(PREVAR_FF==this.fun).length==0) { message("Sorry but "+this.fun+" is not in the list!"); throw "user error"; } else { |