Skip to content

Commit

Permalink
fix: update initial value for cache_count (#1454)
Browse files Browse the repository at this point in the history
  • Loading branch information
cryptonemo authored May 4, 2021
1 parent f006700 commit 8c0fb83
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion storage-proofs-porep/src/stacked/vanilla/cores.rs
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@ fn core_groups(cores_per_unit: usize) -> Option<Vec<Mutex<Vec<CoreIndex>>>> {
let core_count = all_cores.len();

let mut cache_depth = core_depth;
let mut cache_count = 0;
let mut cache_count = 1;

while cache_depth > 0 {
let objs = topo.objects_at_depth(cache_depth);
Expand Down

0 comments on commit 8c0fb83

Please # to comment.