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/Linear/DLR_f.js | 2 ++ 1 file changed, 2 insertions(+) (limited to 'js/Linear/DLR_f.js') diff --git a/js/Linear/DLR_f.js b/js/Linear/DLR_f.js index 0bc0dc73..93e2925a 100644 --- a/js/Linear/DLR_f.js +++ b/js/Linear/DLR_f.js @@ -18,6 +18,7 @@ function DLR_f() { model.dep_ut = [false,false]; gr_i = []; this.x = standard_define([2.5,2.5],model,exprs,gr_i); + return new BasicBlock(this.x); } DLR_f.prototype.details = function DLR_f() { return this.x; @@ -69,5 +70,6 @@ function DLR_f() { } } this.x.model.firing = []; + return new BasicBlock(this.x); } } -- cgit