From bfb8d8d87124ffedc3c69dce012413657f4098a9 Mon Sep 17 00:00:00 2001 From: LasNikas Date: Tue, 19 Nov 2024 16:37:29 +0100 Subject: [PATCH] fix rebase bug --- src/refinement/refinement.jl | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/refinement/refinement.jl b/src/refinement/refinement.jl index c2086b711..8512a9d5f 100644 --- a/src/refinement/refinement.jl +++ b/src/refinement/refinement.jl @@ -8,6 +8,7 @@ struct ParticleRefinement{SP, RC, ELTYPE} refinement_criteria :: RC max_spacing_ratio :: ELTYPE mass_ref :: Vector{ELTYPE} # length(mass_ref) == nparticles + delete_candidates :: Vector{Bool} # length(delete_candidates) == nparticles n_particles_before_resize :: Ref{Int} n_new_particles :: Ref{Int} end @@ -22,7 +23,7 @@ function ParticleRefinement(; refinement_pattern, max_spacing_ratio, end return ParticleRefinement(refinement_pattern, refinement_criteria, max_spacing_ratio, - mass_ref, Ref(0), Ref(0)) + mass_ref, delete_candidates, Ref(0), Ref(0)) end resize_refinement!(system) = system