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