Skip to content

Commit 8b4a1de

Browse files
committed
Update variants.cpp
1 parent 1346c68 commit 8b4a1de

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

src/variants.cpp

+2-3
Original file line numberDiff line numberDiff line change
@@ -75,8 +75,6 @@ bool DBG::DBGtoVariants(InSegment *inSegment) {
7575
while(explored < kcount) {
7676

7777
mapRange = {0,0};
78-
std::deque<uint64_t> targetsQueue;
79-
phmap::parallel_flat_hash_map<uint64_t,bool> targetsMap;
8078

8179
while (mapRange[1] < mapCount) {
8280

@@ -87,6 +85,8 @@ bool DBG::DBGtoVariants(InSegment *inSegment) {
8785
ParallelMap *map;
8886
ParallelMap32 *map32;
8987
bool isFw = false;
88+
std::deque<uint64_t> targetsQueue;
89+
phmap::parallel_flat_hash_map<uint64_t,bool> targetsMap;
9090

9191
for (uint16_t pos = 0; pos < userInput.maxSpan; ++pos) { // populate targets
9292
if (pos+k < kcount) {
@@ -95,7 +95,6 @@ bool DBG::DBGtoVariants(InSegment *inSegment) {
9595
targetsMap[key];
9696
}
9797
}
98-
9998
for (uint64_t c = 0; c<kcount; ++c){
10099

101100
lg.verbose("Candidate paths remaing/total: " + std::to_string(kcount-explored) + "/" + std::to_string(kcount), true);

0 commit comments

Comments
 (0)