Commit f2e2af9
authored
Fixed all_points_core_distance for clusters with pairwise distances of zero
Previously, all_points_core_distance would return NaN if all points within a cluster had a distance of zero to one another, i.e. were all the same. Now, it returns an array of zeros with length(distance_matrix).1 parent 523cd86 commit f2e2af9
1 file changed
+5
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
31 | 31 | | |
32 | 32 | | |
33 | 33 | | |
34 | | - | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
35 | 39 | | |
36 | 40 | | |
37 | 41 | | |
| |||
0 commit comments