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/Sinks/CMAT3D.js | 2 ++ 1 file changed, 2 insertions(+) (limited to 'js/Sinks/CMAT3D.js') diff --git a/js/Sinks/CMAT3D.js b/js/Sinks/CMAT3D.js index a29a7e7a..6c89a28f 100644 --- a/js/Sinks/CMAT3D.js +++ b/js/Sinks/CMAT3D.js @@ -22,6 +22,7 @@ function CMAT3D() { exprs = [[strcat(string(this.x)," ")],[strcat(string(y)," ")],[string("jetcolormap(25)")],[string(cmin)],[string(cmax)]]; gr_i = []; this.x = standard_define([2,2],model,exprs,gr_i); + return new BasicBlock(this.x); } CMAT3D.prototype.details = function CMAT3D() { return this.x; @@ -63,5 +64,6 @@ function CMAT3D() { break; } } + return new BasicBlock(this.x); } } -- cgit