Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
svchb committed Aug 22, 2024
1 parent b164e7a commit 0091cc3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/general/buffer.jl
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ struct SystemBuffer{V}
buffer_size :: Int

function SystemBuffer(active_size, buffer_size::Integer)
active_particle = vcat(trues(active_size), falses(buffer_size))
active_particle = vcat(trues(active_size), fill(false, buffer_size))
eachparticle = collect(1:active_size)

return new{typeof(eachparticle)}(active_particle, eachparticle, buffer_size)
Expand Down

0 comments on commit 0091cc3

Please sign in to comment.