A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://github.com/marbl/canu/commit/e8c682260beba4d64685319a423c84e07cfffc5a below:

add missing abs to assert · marbl/canu@e8c6822 · GitHub

File tree Expand file treeCollapse file tree 1 file changed

+1

-1

lines changed

Filter options

Expand file treeCollapse file tree 1 file changed

+1

-1

lines changed Original file line number Diff line number Diff line change

@@ -51,7 +51,7 @@ Convert2Int(const char* seq, int32 prefix_len) {

51 51

ans |= Nucl2Int(*(seq - i)) << (2 * i);

52 52

}

53 53

}

54 -

assert(ans < (1 << (2 * prefix_len)));

54 +

assert(ans < (1 << (2 * std::abs(prefix_len))));

55 55

return ans;

56 56

}

57 57

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