From 3a3398715d5d503820ef0e4453c98bed1497c5c4 Mon Sep 17 00:00:00 2001 From: Wolfgang Bangerth Date: Tue, 22 Oct 2024 10:39:05 -0600 Subject: [PATCH] Fix type mismatch. --- source/particle/manager.cc | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/source/particle/manager.cc b/source/particle/manager.cc index fcc4c1a47e4..8fbe6dee57d 100644 --- a/source/particle/manager.cc +++ b/source/particle/manager.cc @@ -470,7 +470,7 @@ namespace aspect for (unsigned int i=0; i(evaluator.n_components(), numbers::signaling_nan())); - if (evaluation_flags_union & update_gradients) + if (evaluation_flags_union & EvaluationFlags::gradients) inputs.gradients.resize(n_particles,small_vector,50>(evaluator.n_components(), numbers::signaling_nan>())); for (unsigned int i = 0; i