Skip to content

Commit

Permalink
Indices: _calc_pe_lists_per_element_set does not need calc_abc precalc
Browse files Browse the repository at this point in the history
It uses the element arrays directly.

This will speed up matrix building.
  • Loading branch information
shawnlaffan committed Feb 22, 2024
1 parent 34ec68e commit 8cb2a31
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/Biodiverse/Indices/RWTurnover.pm
Original file line number Diff line number Diff line change
Expand Up @@ -317,7 +317,7 @@ sub get_metadata__calc_pe_lists_per_element_set {
set_path_length_cache_by_group_flag
get_inverse_range_weighted_path_lengths
/],
pre_calc => ['calc_abc'], # don't need calc_abc2 as we don't use its counts
pre_calc => [], # don't need calc_abc2 as we don't use its counts
uses_nbr_lists => 1, # how many lists it must have
required_args => {'tree_ref' => 1},
);
Expand Down

0 comments on commit 8cb2a31

Please sign in to comment.