From 3386d0d537a498adce65f313aacb7ca4a147a4d2 Mon Sep 17 00:00:00 2001
From: Sunil Shetye
Date: Fri, 24 Aug 2018 11:46:02 +0530
Subject: remove exprs and gr_i from default global list

---
 js/MatrixOp/MATEIG.js | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

(limited to 'js/MatrixOp/MATEIG.js')

diff --git a/js/MatrixOp/MATEIG.js b/js/MatrixOp/MATEIG.js
index de5ac8f8..466ef853 100644
--- a/js/MatrixOp/MATEIG.js
+++ b/js/MatrixOp/MATEIG.js
@@ -21,8 +21,8 @@ function MATEIG() {
         this.model.firing = new ScilabDouble([]);
         this.model.dep_ut = new ScilabBoolean([true,false]);
         var label = [[sci2exp(1)],[sci2exp(1)]];
-        this.gr_i = new ScilabString(["xstringb(orig(1),orig(2),\"MATEIG\",sz(1),sz(2));"]);
-        this.x = new standard_define(new ScilabDouble([2,2]),this.model,new ScilabDouble(label),this.gr_i);
+        var gr_i = new ScilabString(["xstringb(orig(1),orig(2),\"MATEIG\",sz(1),sz(2));"]);
+        this.x = new standard_define(new ScilabDouble([2,2]),this.model,new ScilabDouble(label),gr_i);
         return new BasicBlock(this.x);
     }
     MATEIG.prototype.details = function MATEIG() {
-- 
cgit