From c99b693d9b18b9e514e8013d672cea0081b94e8c Mon Sep 17 00:00:00 2001 From: davilizh Date: Wed, 17 May 2017 14:47:49 +0800 Subject: [PATCH] add space between equations in the for loop --- libethash-cuda/keccak.cuh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libethash-cuda/keccak.cuh b/libethash-cuda/keccak.cuh index 65a19be7c..ede8ecf54 100644 --- a/libethash-cuda/keccak.cuh +++ b/libethash-cuda/keccak.cuh @@ -332,7 +332,7 @@ __device__ __forceinline__ void keccak_f1600_init(uint2* state) /* iota: a[0,0] ^= round constant */ s[0] ^= vectorize(keccak_round_constants[23]); - for(int i=0; i<12; ++i) + for(int i = 0; i < 12; ++i) state[i] = s[i]; } @@ -341,7 +341,7 @@ __device__ __forceinline__ uint64_t keccak_f1600_final(uint2* state) uint2 s[25]; uint2 t[5], u, v; - for (int i = 0; i<12; ++i) + for (int i = 0; i < 12; ++i) s[i] = state[i]; for (uint32_t i = 12; i < 25; i++)