diff options
Diffstat (limited to 'expt_0516.cu')
| -rw-r--r-- | expt_0516.cu | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/expt_0516.cu b/expt_0516.cu index 4d9be45..f141027 100644 --- a/expt_0516.cu +++ b/expt_0516.cu @@ -204,7 +204,7 @@ void readFile(char const *filename, long sample_length, long pow_for_sample(long n) { auto x = 2; - for (int i = 0; i < n; i++) { + for (int i = 1; i < n; i++) { x *= 2; } return x - 1; |
