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/MatrixOp/SUBMAT.js | 2 ++ 1 file changed, 2 insertions(+) (limited to 'js/MatrixOp/SUBMAT.js') diff --git a/js/MatrixOp/SUBMAT.js b/js/MatrixOp/SUBMAT.js index a797b764..9f9dcc68 100644 --- a/js/MatrixOp/SUBMAT.js +++ b/js/MatrixOp/SUBMAT.js @@ -23,6 +23,7 @@ function SUBMAT() { label = [[sci2exp(1)],[sci2exp(1)],[sci2exp(1)],[sci2exp(1)],[sci2exp(1)]]; gr_i = []; this.x = standard_define([2.5,2],model,label,gr_i); + return new BasicBlock(this.x); } SUBMAT.prototype.details = function SUBMAT() { return this.x; @@ -89,5 +90,6 @@ function SUBMAT() { break; } } + return new BasicBlock(this.x); } } -- cgit