From 5929c9088b6d5dcd23e8bbf9abdc5c9b4a49df1f Mon Sep 17 00:00:00 2001 From: Sunil Shetye Date: Mon, 16 Jul 2018 15:29:15 +0530 Subject: treat third argument of standard_define as model expression --- js/MatrixOp/MATDIAG.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'js/MatrixOp/MATDIAG.js') diff --git a/js/MatrixOp/MATDIAG.js b/js/MatrixOp/MATDIAG.js index 5133d522..aa80bfe1 100644 --- a/js/MatrixOp/MATDIAG.js +++ b/js/MatrixOp/MATDIAG.js @@ -22,7 +22,7 @@ function MATDIAG() { this.model.dep_ut = new ScilabBoolean([true,false]); var label = [sci2exp(1)]; this.gr_i = new ScilabString(["xstringb(orig(1),orig(2),\"MATDIAG\",sz(1),sz(2));"]); - this.x = new standard_define(new ScilabDouble([2,2]),this.model,label,this.gr_i); + this.x = new standard_define(new ScilabDouble([2,2]),this.model,new ScilabString(label),this.gr_i); return new BasicBlock(this.x); } MATDIAG.prototype.details = function MATDIAG() { -- cgit