summaryrefslogtreecommitdiff
path: root/js/Linear/VARIABLE_DELAY.js
diff options
context:
space:
mode:
Diffstat (limited to 'js/Linear/VARIABLE_DELAY.js')
-rw-r--r--js/Linear/VARIABLE_DELAY.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/js/Linear/VARIABLE_DELAY.js b/js/Linear/VARIABLE_DELAY.js
index a57831d6..380a890c 100644
--- a/js/Linear/VARIABLE_DELAY.js
+++ b/js/Linear/VARIABLE_DELAY.js
@@ -7,7 +7,7 @@ x=arg1;
graphics=arg1.graphics;
exprs=graphics.exprs;
model=arg1.model;
-nin=model.in(1);
+nin=model.in1(1);
while (true) {
[ok,T,init,N,exprs]=scicos_getvalue("Set delay parameters",["Max delay","initial input","Buffer size"],list("vec",1,"vec",1,"vec",1),exprs);
if (!ok) {
@@ -41,7 +41,7 @@ init=0;
N=1024;
model=scicos_model();
model.sim=list("variable_delay",4);
-model.in=[nin,1];
+model.in1=[nin,1];
model.out=nin;
model.rpar=[T,init];
model.ipar=N;