Skip to content

Commit

Permalink
Fix superscalar-stats generator initialization
Browse files Browse the repository at this point in the history
  • Loading branch information
tevador committed Oct 11, 2019
1 parent be810ac commit 5570c69
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/tests/superscalar-stats.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ int main() {
int64_t size = 0;
for (int i = 0; i < count; ++i) {
randomx::SuperscalarProgram prog;
randomx::Blake2Generator gen(seed, i);
randomx::Blake2Generator gen(seed, sizeof(seed), i);
randomx::generateSuperscalar(prog, gen);
asicLatency += prog.asicLatency;
codesize += prog.codeSize;
Expand Down

0 comments on commit 5570c69

Please sign in to comment.