Skip to content

Commit

Permalink
* 2
Browse files Browse the repository at this point in the history
  • Loading branch information
mscroggs committed May 2, 2024
1 parent bb66dee commit ad682f4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions examples/test_parallel_grid.rs
Original file line number Diff line number Diff line change
Expand Up @@ -49,11 +49,11 @@ fn create_flat_triangle_grid_data(b: &mut FlatTriangleGridBuilder<f64>, n: usize
for i in 0..n - 1 {
for j in 0..n - 1 {
b.add_cell(
2 * i * (n - 1) + j,
2 * i * (n - 1) + 2 * j,
[j * n + i, j * n + i + 1, j * n + i + n + 1],
);
b.add_cell(
2 * i * (n - 1) + j + 1,
2 * i * (n - 1) + 2 * j + 1,
[j * n + i, j * n + i + n + 1, j * n + i + n],
);
}
Expand Down

0 comments on commit ad682f4

Please sign in to comment.