From 8056a6f662f14404a69113b7314c7d89df5b5f60 Mon Sep 17 00:00:00 2001
From: Soeren Peters <peters@irmb.tu-bs.de>
Date: Tue, 2 Mar 2021 12:50:28 +0100
Subject: [PATCH] Added missing kzero.

---
 src/gpu/VirtualFluids_GPU/GPU/Calc2ndMoments27.cu | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/gpu/VirtualFluids_GPU/GPU/Calc2ndMoments27.cu b/src/gpu/VirtualFluids_GPU/GPU/Calc2ndMoments27.cu
index c83e2ce4e..2e0a0e489 100644
--- a/src/gpu/VirtualFluids_GPU/GPU/Calc2ndMoments27.cu
+++ b/src/gpu/VirtualFluids_GPU/GPU/Calc2ndMoments27.cu
@@ -293,7 +293,7 @@ extern "C" __global__ void LBCalc2ndMomentsCompSP27(real* kxyFromfcNEQ,
    {
       //////////////////////////////////////////////////////////////////////////
       //index
-      //unsigned int kzero= k;
+      unsigned int kzero= k;
       unsigned int ke   = k;
       unsigned int kw   = neighborX[k];
       unsigned int kn   = k;
-- 
GitLab