Skip to content

Commit

Permalink
fix #39
Browse files Browse the repository at this point in the history
  • Loading branch information
plerros committed May 4, 2022
1 parent 207ccc8 commit 97c1ecc
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion helsing/src/vampire/cache.c
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,8 @@ void cache_new(struct cache **ptr, vamp_t min, vamp_t max)
cs = part_A;
if (part_B > cs)
cs = part_B;
} while (i < length(max));
i++;
} while (i <= length(max));
new->size = pow_v(cs);

new->dig = malloc(sizeof(digits_t) * new->size);
Expand Down

0 comments on commit 97c1ecc

Please sign in to comment.