summaryrefslogtreecommitdiff
path: root/js/Sinks/CSCOPE.js
diff options
context:
space:
mode:
authorSunil Shetye2018-07-18 15:33:44 +0530
committerSunil Shetye2018-07-18 17:07:40 +0530
commit4d1e8bb193a7315a8fcfe1e09c33befdee660b7d (patch)
tree360c93b86402e468a69d22fe3187d0809b095587 /js/Sinks/CSCOPE.js
parentbfa780421678e897b17680f3e7c5db72d8ea8375 (diff)
downloadsci2js-4d1e8bb193a7315a8fcfe1e09c33befdee660b7d.tar.gz
sci2js-4d1e8bb193a7315a8fcfe1e09c33befdee660b7d.tar.bz2
sci2js-4d1e8bb193a7315a8fcfe1e09c33befdee660b7d.zip
add throw after message()
Diffstat (limited to 'js/Sinks/CSCOPE.js')
-rw-r--r--js/Sinks/CSCOPE.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/js/Sinks/CSCOPE.js b/js/Sinks/CSCOPE.js
index bcd9682f..2ffc3747 100644
--- a/js/Sinks/CSCOPE.js
+++ b/js/Sinks/CSCOPE.js
@@ -89,6 +89,7 @@ function CSCOPE() {
}
if (!ok) {
message([["Some specified values are inconsistent:"],[" "],[mess]]);
+ throw "user error";
}
if (ok) {
var tmpvar0 = set_io(this.model,this.graphics,list([-1,1],1),list(),ones(1-this.heritance,1),[]);