Skip to content

Commit

Permalink
remove unnecessary parentheses
Browse files Browse the repository at this point in the history
Co-authored-by: Jarrett Ye <[email protected]>
  • Loading branch information
ishiko732 and L-M-Sherlock authored Oct 26, 2024
1 parent 01bb501 commit 0921314
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/fsrs/algorithm.ts
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,7 @@ export class FSRSAlgorithm {
* @see https://github.com/open-spaced-repetition/fsrs4anki/issues/697
*/
linear_damping(delta_d: number, old_d: number): number {
return +((delta_d * (10 - old_d)) / 9).toFixed(8)
return +(delta_d * (10 - old_d) / 9).toFixed(8)
}

/**
Expand Down

0 comments on commit 0921314

Please sign in to comment.