Skip to content

Commit

Permalink
refactor(laplace): make fn compute private
Browse files Browse the repository at this point in the history
  • Loading branch information
mkroening committed Dec 17, 2024
1 parent 44cf8af commit 36670ee
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/demo/src/laplace.rs
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ fn iteration(cur: &[f64], next: &mut [f64], size_x: usize, size_y: usize) {
});
}

pub fn compute(matrix: &mut [f64], size_x: usize, size_y: usize) -> (usize, f64) {
fn compute(matrix: &mut [f64], size_x: usize, size_y: usize) -> (usize, f64) {
let mut clone = matrix.to_vec();

let mut current = matrix;
Expand Down

0 comments on commit 36670ee

Please sign in to comment.