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/MATMAGPHI.js | 1 + 1 file changed, 1 insertion(+) (limited to 'js/MatrixOp/MATMAGPHI.js') diff --git a/js/MatrixOp/MATMAGPHI.js b/js/MatrixOp/MATMAGPHI.js index a99bd0f0..c3b97dee 100644 --- a/js/MatrixOp/MATMAGPHI.js +++ b/js/MatrixOp/MATMAGPHI.js @@ -61,6 +61,7 @@ function MATMAGPHI() { var ot = 2; } else { message("decomposition type is not supported"); + throw "user error"; var ok = false; } var funtyp = 4; -- cgit