summaryrefslogtreecommitdiff
path: root/js/Sinks/OUTIMPL_f.js
diff options
context:
space:
mode:
Diffstat (limited to 'js/Sinks/OUTIMPL_f.js')
-rw-r--r--js/Sinks/OUTIMPL_f.js8
1 files changed, 4 insertions, 4 deletions
diff --git a/js/Sinks/OUTIMPL_f.js b/js/Sinks/OUTIMPL_f.js
index 6201233a..3f70a71e 100644
--- a/js/Sinks/OUTIMPL_f.js
+++ b/js/Sinks/OUTIMPL_f.js
@@ -30,8 +30,8 @@ function OUTIMPL_f() {
OUTIMPL_f.prototype.set = function OUTIMPL_f() {
this.prt = parseFloat(arguments[0]["prt"])
this.x = arg1;
- var graphics = arg1.graphics;
- var exprs = graphics.exprs;
+ this.graphics = arg1.graphics;
+ var exprs = this.graphics.exprs;
this.model = arg1.model;
if (size(exprs,"*")==2) {
var exprs = exprs[1-1];
@@ -50,8 +50,8 @@ function OUTIMPL_f() {
var y = needcompile;
}
this.model.ipar = new ScilabDouble([this.prt]);
- graphics.exprs = exprs;
- this.x.graphics = graphics;
+ this.graphics.exprs = new ScilabDouble([exprs]);
+ this.x.graphics = this.graphics;
this.x.model = this.model;
break;
}