Skip to content

Commit

Permalink
a small comment
Browse files Browse the repository at this point in the history
  • Loading branch information
mtantaoui committed Dec 1, 2024
1 parent 4940be0 commit 8d931f9
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/romberg.rs
Original file line number Diff line number Diff line change
Expand Up @@ -204,6 +204,8 @@ where
})
.collect_into_vec(&mut trapezoidals);


// Storing computed values (shared between threads)
let cache: Mutex<HashMap<(U, U), F2>> = Mutex::new(HashMap::new());

let integral = romberg(
Expand Down

0 comments on commit 8d931f9

Please sign in to comment.