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/PDE/PDE.js | 2 ++ 1 file changed, 2 insertions(+) (limited to 'js/PDE/PDE.js') diff --git a/js/PDE/PDE.js b/js/PDE/PDE.js index 0f1dd160..dfba5807 100644 --- a/js/PDE/PDE.js +++ b/js/PDE/PDE.js @@ -12,6 +12,7 @@ function PDE() { label = list(params_pde,[],""); gr_i = []; this.x = standard_define([3,3],model,label,gr_i); + return new BasicBlock(this.x); } PDE.prototype.details = function PDE() { return this.x; @@ -129,5 +130,6 @@ function PDE() { this.x.model = model; break; } + return new BasicBlock(this.x); } } -- cgit