From 4d1e8bb193a7315a8fcfe1e09c33befdee660b7d Mon Sep 17 00:00:00 2001 From: Sunil Shetye Date: Wed, 18 Jul 2018 15:33:44 +0530 Subject: add throw after message() --- js/MatrixOp/MATDIV.js | 1 + 1 file changed, 1 insertion(+) (limited to 'js/MatrixOp/MATDIV.js') diff --git a/js/MatrixOp/MATDIV.js b/js/MatrixOp/MATDIV.js index d5d8d2f7..7148a63d 100644 --- a/js/MatrixOp/MATDIV.js +++ b/js/MatrixOp/MATDIV.js @@ -55,6 +55,7 @@ function MATDIV() { var it = [2,2]; } else { message("Datatype is not supported"); + throw "user error"; var ok = false; } var in1 = [this.model.in,this.model.in2]; -- cgit