Skip to content

Commit

Permalink
update maximum
Browse files Browse the repository at this point in the history
  • Loading branch information
ishiko732 committed Sep 19, 2024
1 parent 55c5e8f commit dcf8d51
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/fsrs/algorithm.ts
Original file line number Diff line number Diff line change
Expand Up @@ -223,7 +223,7 @@ export class FSRSAlgorithm {
hard_penalty *
easy_bound),
0.01,
this.param.maximum_interval
36500.0
).toFixed(8)
}

Expand All @@ -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)
}

Expand All @@ -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)
}

Expand Down

0 comments on commit dcf8d51

Please sign in to comment.