Skip to content

Commit 1a48980

Browse files
author
David Thomas
committed
Fix to p initialisation. Thanks to @Wiijah. Closes #9
1 parent 9777725 commit 1a48980

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

include/puzzler/puzzles/random_projection.hpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@ namespace puzzler
110110
) const
111111
{
112112
unsigned n=pInput->n;
113-
double p=16/n;
113+
double p=16.0/n;
114114

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

0 commit comments

Comments
 (0)