for backup

This commit is contained in:
Haoyu Cheng
2019-12-12 20:12:52 -05:00
parent 9c25075fed
commit 90195293f1
2 changed files with 259 additions and 40 deletions
+2 -2
View File
@@ -1152,10 +1152,10 @@ inline void ResizeInitHaplotypeEvdience(haplotype_evdience_alloc* h)
/****************************may have bugs********************************/
}
inline void RsetInitHaplotypeEvdienceFlag(haplotype_evdience_alloc* h, long long useful_length)
inline void RsetInitHaplotypeEvdienceFlag(haplotype_evdience_alloc* h, long long beg, long long useful_length)
{
/****************************may have bugs********************************/
memset(h->flag, 0, useful_length * sizeof(uint8_t));
memset(h->flag + beg, 0, useful_length * sizeof(uint8_t));
/****************************may have bugs********************************/
}