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/DIFF_c.js | 2 ++ 1 file changed, 2 insertions(+) (limited to 'js/Linear/DIFF_c.js') diff --git a/js/Linear/DIFF_c.js b/js/Linear/DIFF_c.js index 191e9282..42abb23c 100644 --- a/js/Linear/DIFF_c.js +++ b/js/Linear/DIFF_c.js @@ -12,6 +12,7 @@ function DIFF_c() { exprs = [[strcat(sci2exp(x0[1-1]))],[strcat(sci2exp(x0[2-1]))]]; gr_i = []; this.x = standard_define([2,2],model,exprs,gr_i); + return new BasicBlock(this.x); } DIFF_c.prototype.details = function DIFF_c() { return this.x; @@ -52,5 +53,6 @@ function DIFF_c() { } } this.x.model.firing = []; + return new BasicBlock(this.x); } } -- cgit