Skip to content

Commit 39c553c

Browse files
committed
tick condition change;
1 parent ef70efc commit 39c553c

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/Theories/CTs/MF.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -380,7 +380,7 @@ class mfSim extends theoryClass<theory> {
380380
const va2 = 10 ** this.variables[3].value; // a2, non-log10 value
381381
let icap = va2*i0; //max reachable i value
382382

383-
if(this.i <= icap) {
383+
if(this.i < icap) {
384384
// if max i is not reached, we add a value to it:
385385
const va1 = 10 ** (this.variables[2].value * this.precomp_a1exp);
386386
let scale = 1 - Math.E ** (-this.dt*va1/(400*va2));

0 commit comments

Comments
 (0)