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/CURV_f.js | 2 ++ 1 file changed, 2 insertions(+) (limited to 'js/Sources/CURV_f.js') diff --git a/js/Sources/CURV_f.js b/js/Sources/CURV_f.js index cd6199a9..a12186e0 100644 --- a/js/Sources/CURV_f.js +++ b/js/Sources/CURV_f.js @@ -17,6 +17,7 @@ function CURV_f() { model.dep_ut = [false,true]; gr_i = []; this.x = standard_define([2,2],model,[],gr_i); + return new BasicBlock(this.x); } CURV_f.prototype.details = function CURV_f() { return this.x; @@ -60,5 +61,6 @@ function CURV_f() { break; } } + return new BasicBlock(this.x); } } -- cgit