Skip to content

Commit

Permalink
add comment
Browse files Browse the repository at this point in the history
  • Loading branch information
lmiq committed Dec 12, 2023
1 parent d12f66e commit 1ed2ef7
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/results.jl
Original file line number Diff line number Diff line change
Expand Up @@ -220,6 +220,8 @@ function Result(trajectory::Trajectory, options::Options; irefatom = -1)
error("Number of frames to read is zero. Check input parameters.")
end

# Initialize the arrays that contain groups counts, depending on wheter
# groups were defined or not in the input Options
solute_group_count = if isempty(options.solute_groups)
[ zeros(nbins) for _ in 1:solute.natomspermol ]
else
Expand Down

0 comments on commit 1ed2ef7

Please sign in to comment.