summaryrefslogtreecommitdiff
path: root/js/MatrixOp/MATDIAG.js
diff options
context:
space:
mode:
Diffstat (limited to 'js/MatrixOp/MATDIAG.js')
-rw-r--r--js/MatrixOp/MATDIAG.js2
1 files changed, 1 insertions, 1 deletions
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() {