Skip to content

Commit

Permalink
Merge pull request #16 from open-spaced-repetition/update-FSRS-rs-to-…
Browse files Browse the repository at this point in the history
…0.6.0
  • Loading branch information
AlexErrant authored Mar 31, 2024
2 parents f2dceae + 54d4758 commit 41f68bc
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 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
Submodule fsrs-rs updated 3 files
+1 −1 Cargo.lock
+1 −1 Cargo.toml
+22 −15 src/training.rs
2 changes: 1 addition & 1 deletion src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ impl FSRSwasm {
fn train_and_set_parameters(&mut self, items: Vec<FSRSItem>) -> Vec<f32> {
#[cfg(debug_assertions)]
warn!("You're training with a debug build... this is going to take a *long* time.");
let parameters = self.model.compute_parameters(items, false, None).unwrap();
let parameters = self.model.compute_parameters(items, None).unwrap();
self.model = FSRS::new(Some(&parameters)).unwrap();
parameters
}
Expand Down

0 comments on commit 41f68bc

Please sign in to comment.