aboutsummaryrefslogtreecommitdiff
path: root/src/pipeline
diff options
context:
space:
mode:
Diffstat (limited to 'src/pipeline')
-rw-r--r--src/pipeline/physics_pipeline.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pipeline/physics_pipeline.rs b/src/pipeline/physics_pipeline.rs
index b5f123d..80d7833 100644
--- a/src/pipeline/physics_pipeline.rs
+++ b/src/pipeline/physics_pipeline.rs
@@ -162,7 +162,7 @@ impl PhysicsPipeline {
self.counters.stages.solver_time.start();
if self.solvers.len() < bodies.num_islands() {
self.solvers
- .resize_with(bodies.num_islands(), || IslandSolver::new());
+ .resize_with(bodies.num_islands(), IslandSolver::new);
}
#[cfg(not(feature = "parallel"))]