From dcf8d51e3a7e4b97b82ac8d5fd88f73492be316e Mon Sep 17 00:00:00 2001 From: ishiko Date: Thu, 19 Sep 2024 22:11:29 +0800 Subject: [PATCH] update maximum --- src/fsrs/algorithm.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/fsrs/algorithm.ts b/src/fsrs/algorithm.ts index 131fc02..a07c612 100644 --- a/src/fsrs/algorithm.ts +++ b/src/fsrs/algorithm.ts @@ -223,7 +223,7 @@ export class FSRSAlgorithm { hard_penalty * easy_bound), 0.01, - this.param.maximum_interval + 36500.0 ).toFixed(8) } @@ -242,7 +242,7 @@ export class FSRSAlgorithm { (Math.pow(s + 1, this.param.w[13]) - 1) * Math.exp((1 - r) * this.param.w[14]), 0.01, - this.param.maximum_interval + 36500.0 ).toFixed(8) } @@ -256,7 +256,7 @@ export class FSRSAlgorithm { return +clamp( s * Math.exp(this.param.w[17] * (g - 3 + this.param.w[18])), 0.01, - this.param.maximum_interval + 36500.0 ).toFixed(8) }