Line 0
Link Here
|
|
|
1 |
--- src/RandLM/BloomMap.cpp.orig 2017-03-07 00:13:58 UTC |
2 |
+++ src/RandLM/BloomMap.cpp |
3 |
@@ -272,7 +272,7 @@ namespace randlm { |
4 |
|
5 |
bool BloomMap::computePaths() { |
6 |
// determine the path lengths based on distribution for codes of each type |
7 |
- assert(stats_counters_ && root_ == NULL && max_code_ > 0); |
8 |
+ assert(stats_counters_ && root_ == NULL && max_code_ != NULL); |
9 |
code_to_leaf_ = new uint64_t*[num_events_]; |
10 |
code_to_path_len_ = new int*[num_events_]; |
11 |
code_to_bound_ = new int*[num_events_]; |