+1
-1
lines changedFilter options
+1
-1
lines changed Original file line number Diff line number Diff line change
@@ -603,7 +603,7 @@ unitigConsensus::generateTemplateStitch(void) {
603
603
goto retryCandidate;
604
604
}
605
605
else if (tiglen > minOlap && origLen > minOlap + TRIM_BP ) {
606
-
int32 trimbp = origLen - minOlap - TRIM_BP;
606
+
int32 trimbp = std::min(tiglen - minOlap, origLen - minOlap - TRIM_BP);
607
607
assert(trimbp > 0);
608
608
assert(origLen > minOlap + trimbp);
609
609
assert(ePos > trimbp);
You can’t perform that action at this time.
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4