Skip to content

Commit

Permalink
update fsrs-rs to 1.3.3
Browse files Browse the repository at this point in the history
  • Loading branch information
L-M-Sherlock committed Oct 18, 2024
1 parent dd7df69 commit bdeda3c
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 3 deletions.
14 changes: 13 additions & 1 deletion Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion fsrs-rs
2 changes: 1 addition & 1 deletion src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ impl FSRSwasm {
stability: Option<f32>,
desired_retention: f32,
rating: u32,
) -> u32 {
) -> f32 {
self.model
.next_interval(stability, desired_retention, rating)
}
Expand Down

0 comments on commit bdeda3c

Please sign in to comment.