| 1487 | } |
| 1488 | const uint32_t union_size = 2u * p->n_expert_used - intersection; |
| 1489 | p->adjacent_pairs[il]++; |
| 1490 | p->adjacent_overlap_sum[il] += |
| 1491 | (double)intersection / (double)p->n_expert_used; |
| 1492 | if (union_size != 0) { |
| 1493 | p->adjacent_jaccard_sum[il] += |
| 1494 | (double)intersection / (double)union_size; |
| 1495 | } |
| 1496 | } |
| 1497 |
no test coverage detected