davis-130420.cir, avoid > 0 comparison being treated as file redirection

This commit is contained in:
rlar 2018-02-25 12:02:54 +01:00
parent 95d8ec1f5d
commit bde6f2f496
1 changed files with 1 additions and 1 deletions

View File

@ -47,7 +47,7 @@ repeat $&len
let tt = tt lt 0 ? tt : tt - Tperiod * floor(tt/Tperiod)
let tt = tt + t0;
let gold[kk] = (tt lt t1) ? 1000*(1-exp(-tt/tau1)) : 4.5*exp(-(tt-t1)/tau2)
let steps[kk] = time[kk] - time[kk > 0 ? kk-1 : 0]
let steps[kk] = time[kk] - time[kk ? kk-1 : 0]
let kk = kk + 1
end