From afed64f1a0eab0b2d742088186d7bc340a2c895b Mon Sep 17 00:00:00 2001 From: Sunil Shetye Date: Tue, 26 Jun 2018 12:08:19 +0530 Subject: return block type in define and set --- js/Sources/CONST_f.js | 2 ++ 1 file changed, 2 insertions(+) (limited to 'js/Sources/CONST_f.js') diff --git a/js/Sources/CONST_f.js b/js/Sources/CONST_f.js index 8753b046..0030dc8f 100644 --- a/js/Sources/CONST_f.js +++ b/js/Sources/CONST_f.js @@ -12,6 +12,7 @@ function CONST_f() { exprs = strcat(sci2exp(C)); gr_i = []; this.x = standard_define([2,2],model,exprs,gr_i); + return new BasicBlock(this.x); } CONST_f.prototype.details = function CONST_f() { return this.x; @@ -40,5 +41,6 @@ function CONST_f() { break; } } + return new BasicBlock(this.x); } } -- cgit