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/Misc/DEADBAND.js | 2 ++ 1 file changed, 2 insertions(+) (limited to 'js/Misc/DEADBAND.js') diff --git a/js/Misc/DEADBAND.js b/js/Misc/DEADBAND.js index 45f7ee9d..f1a0f417 100644 --- a/js/Misc/DEADBAND.js +++ b/js/Misc/DEADBAND.js @@ -16,6 +16,7 @@ function DEADBAND() { exprs = [[string(maxp)],[string(minp)],[string(model.nmode)]]; gr_i = []; this.x = standard_define([2,2],model,exprs,gr_i); + return new BasicBlock(this.x); } DEADBAND.prototype.details = function DEADBAND() { return this.x; @@ -50,5 +51,6 @@ function DEADBAND() { break; } } + return new BasicBlock(this.x); } } -- cgit