Skip to content

Commit

Permalink
Fix move bug in benchmark.
Browse files Browse the repository at this point in the history
  • Loading branch information
thorstenhater committed Sep 24, 2024
1 parent b6a13cc commit e415cf3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/ubench/fvm_discretize.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ void run_discretize_explicit(benchmark::State& state) {
auto ends = cv_policy_every_segment().cv_boundary_points(cable_cell{morpho, {}, {}, {}});

while (state.KeepRunning()) {
benchmark::DoNotOptimize(fvm_cv_discretize(cable_cell{morpho, {}, {}, cv_policy_explicit(std::move(ends))}, gdflt));
benchmark::DoNotOptimize(fvm_cv_discretize(cable_cell{morpho, {}, {}, cv_policy_explicit(ends)}, gdflt));
}
}

Expand Down

0 comments on commit e415cf3

Please sign in to comment.