Skip to content

Commit

Permalink
Fix to p initialisation. Thanks to @Wiijah. Closes #9
Browse files Browse the repository at this point in the history
  • Loading branch information
David Thomas committed Nov 12, 2017
1 parent 9777725 commit 1a48980
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/puzzler/puzzles/random_projection.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ namespace puzzler
) const
{
unsigned n=pInput->n;
double p=16/n;
double p=16.0/n;

std::vector<uint64_t> acc(n, 0);

Expand Down

0 comments on commit 1a48980

Please sign in to comment.