Skip to content

Commit 8e585c9

Browse files
committed
small adjustments
1 parent 58d7edf commit 8e585c9

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

include/bucket.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ inline static Depths get_index_depths(vec_t update_idx, size_t seed, col_hash_t
4747
ret[0] = __builtin_ctzll(depth_hash | (1ull << max_depth));
4848

4949
// shift hash over, reassert max_depth, and grab another depth
50-
depth_hash >>= max_depth;
50+
depth_hash >>= (ret[0] + 1);
5151
ret[1] = __builtin_ctzll(depth_hash | (1ull << max_depth));
5252

5353
return ret;

src/edge_store.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -262,7 +262,7 @@ TaggedUpdateBatch EdgeStore::vertex_advance_subgraph(node_id_t cur_first_es_subg
262262
verify_contract_complete();
263263
#endif
264264
++true_min_subgraph;
265-
std::cerr << "EdgeStore: Contraction complete" << std::endl;
265+
std::cerr << "EdgeStore: Contraction complete " << std::endl;
266266
}
267267
return {0, cur_first_es_subgraph, std::vector<SubgraphTaggedUpdate>()};
268268
}

0 commit comments

Comments
 (0)