Skip to content

Commit

Permalink
#2673 Adjust count by the density vector size
Browse files Browse the repository at this point in the history
  • Loading branch information
Howard Soh committed Nov 9, 2023
1 parent 98f01ba commit 258b997
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/libcode/vx_statistics/compute_stats.cc
Original file line number Diff line number Diff line change
Expand Up @@ -1463,6 +1463,7 @@ void compute_aggregated_seeps(const PairDataPoint *pd, SeepsAggScore *seeps) {

compute_seeps_density_vector(pd, seeps, density_vector);
int density_cnt = density_vector.size();
if(density_cnt > count) density_cnt = count;

//IDL: w = 1/d
weight_sum = 0.;
Expand Down

0 comments on commit 258b997

Please sign in to comment.