Skip to content

Commit

Permalink
Update src/metrics/site_level.jl comment
Browse files Browse the repository at this point in the history
Co-authored-by: Takuya Iwanaga <[email protected]>
  • Loading branch information
Zapiano and ConnectedSystems authored Sep 26, 2024
1 parent c354f10 commit 529c4ca
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/metrics/site_level.jl
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ function summarize(
available_ram = Sys.free_memory() * 0.7
data_size = sizeof(eltype(data)) * length(data)

# Only use this approach when data occupies more than 70% of available space in RAM
# Only use this approach when data occupies more than 70% of available RAM
if data_size > available_ram
# `D.` is ensuring the returned YAXArray has the same type as the input `data`
return D.(mapslices(metric, data; dims=alongs_axis))
Expand Down

0 comments on commit 529c4ca

Please sign in to comment.