Skip to content

Commit

Permalink
fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
L-M-Sherlock committed Dec 21, 2023
1 parent c3e10cf commit 886fc56
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/optimal_retention.rs
Original file line number Diff line number Diff line change
Expand Up @@ -409,15 +409,15 @@ where
Ok((0..n)
.into_par_iter()
.map(|i| {
let memoziration = simulate(
let memorization = simulate(
config,
weights,
desired_retention,
Some((i + 42).try_into().unwrap()),
None,
)
.0;
memoziration[memoziration.len() - 1]
memorization[memorization.len() - 1]
})
.sum::<f64>()
/ n as f64)
Expand Down

0 comments on commit 886fc56

Please sign in to comment.