We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ef70efc commit 39c553cCopy full SHA for 39c553c
1 file changed
src/Theories/CTs/MF.ts
@@ -380,7 +380,7 @@ class mfSim extends theoryClass<theory> {
380
const va2 = 10 ** this.variables[3].value; // a2, non-log10 value
381
let icap = va2*i0; //max reachable i value
382
383
- if(this.i <= icap) {
+ if(this.i < icap) {
384
// if max i is not reached, we add a value to it:
385
const va1 = 10 ** (this.variables[2].value * this.precomp_a1exp);
386
let scale = 1 - Math.E ** (-this.dt*va1/(400*va2));
0 commit comments