Skip to content

Commit

Permalink
fix rebase bug
Browse files Browse the repository at this point in the history
  • Loading branch information
LasNikas committed Nov 19, 2024
1 parent 78a90eb commit bfb8d8d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/refinement/refinement.jl
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down

0 comments on commit bfb8d8d

Please sign in to comment.