Skip to content

Commit

Permalink
fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
mscroggs committed Jan 16, 2024
1 parent 1de56aa commit fb6e778
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions bem/benches/assembly_benchmark.rs
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,10 @@ pub fn full_assembly_benchmark(c: &mut Criterion) {
);

let space = SerialFunctionSpace::new(&grid, &element);
let mut matrix = rlst_dynamic_array2!(f64, [space.dofmap().global_size(), space.dofmap().global_size()]);
let mut matrix = rlst_dynamic_array2!(
f64,
[space.dofmap().global_size(), space.dofmap().global_size()]
);

group.bench_function(
&format!(
Expand Down Expand Up @@ -62,7 +65,10 @@ pub fn assembly_parts_benchmark(c: &mut Criterion) {
);

let space = SerialFunctionSpace::new(&grid, &element);
let mut matrix = rlst_dynamic_array2!(f64, [space.dofmap().global_size(), space.dofmap().global_size()]);
let mut matrix = rlst_dynamic_array2!(
f64,
[space.dofmap().global_size(), space.dofmap().global_size()]
);

let colouring = space.compute_cell_colouring();

Expand Down

0 comments on commit fb6e778

Please sign in to comment.