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/NonLinear/LOGBLK_f.js | 2 ++ 1 file changed, 2 insertions(+) (limited to 'js/NonLinear/LOGBLK_f.js') diff --git a/js/NonLinear/LOGBLK_f.js b/js/NonLinear/LOGBLK_f.js index 00f01aa1..3cd0de2f 100644 --- a/js/NonLinear/LOGBLK_f.js +++ b/js/NonLinear/LOGBLK_f.js @@ -13,6 +13,7 @@ function LOGBLK_f() { exprs = "%e"; gr_i = []; this.x = standard_define([2,2],model,exprs,gr_i); + return new BasicBlock(this.x); } LOGBLK_f.prototype.details = function LOGBLK_f() { return this.x; @@ -44,5 +45,6 @@ function LOGBLK_f() { } } } + return new BasicBlock(this.x); } } -- cgit