aboutsummaryrefslogtreecommitdiff
blob: 95181f082e932ea1401945a770b77e22513cb290 (plain)
1
2
3
4
5
6
7
8
9
10
11
--- abyss-2.2.5/Common/ContigProperties.h.ori	2020-09-18 20:42:12.000000000 +0200
+++ abyss-2.2.5/Common/ContigProperties.h	2021-04-14 12:31:23.682158000 +0200
@@ -171,7 +171,7 @@
 template <typename T>
 ContigProperties& operator+=(ContigProperties& a, const T& b)
 {
-	assert((int)a.length + (int)b.distance > 0);
+	assert((int)a.length + (int)b.distance >= 0);
 	a.length += b.distance;
 	return a;
 }