mirror of
https://github.com/chhylp123/hifiasm.git
synced 2026-10-08 05:18:12 +08:00
r251: always keep the best hits
This commit is contained in:
+1
-1
@@ -3,7 +3,7 @@
|
|||||||
|
|
||||||
#include <pthread.h>
|
#include <pthread.h>
|
||||||
|
|
||||||
#define HA_VERSION "0.5-dirty-r250"
|
#define HA_VERSION "0.5-dirty-r251"
|
||||||
|
|
||||||
#define VERBOSE 0
|
#define VERBOSE 0
|
||||||
|
|
||||||
|
|||||||
+1
-1
@@ -158,7 +158,7 @@ void ha_get_new_candidates(ha_abuf_t *ab, int64_t rid, UC_Read *ucr, overlap_reg
|
|||||||
for (i = 0, k = 0; i < (uint32_t)overlap_list->length; ++i) {
|
for (i = 0, k = 0; i < (uint32_t)overlap_list->length; ++i) {
|
||||||
overlap_region *r = &overlap_list->list[i];
|
overlap_region *r = &overlap_list->list[i];
|
||||||
w = ha_ov_type(r, rlen);
|
w = ha_ov_type(r, rlen);
|
||||||
if (r->shared_seed > s[w]) {
|
if (r->shared_seed >= s[w]) {
|
||||||
if ((uint32_t)k != i) {
|
if ((uint32_t)k != i) {
|
||||||
overlap_region t;
|
overlap_region t;
|
||||||
t = overlap_list->list[k];
|
t = overlap_list->list[k];
|
||||||
|
|||||||
Reference in New Issue
Block a user