From 6e7a0a6fd82a71aef9b15e98d75b2fa78c09293a Mon Sep 17 00:00:00 2001 From: Vincenzo Innocente Date: Mon, 21 Jan 2019 12:28:29 +0100 Subject: [PATCH] fix HistoContainer unit test (#256) --- HeterogeneousCore/CUDAUtilities/test/BuildFile.xml | 2 -- HeterogeneousCore/CUDAUtilities/test/HistoContainer_t.cpp | 2 +- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/HeterogeneousCore/CUDAUtilities/test/BuildFile.xml b/HeterogeneousCore/CUDAUtilities/test/BuildFile.xml index c134da94e7b0d..d3f8d77a35d32 100644 --- a/HeterogeneousCore/CUDAUtilities/test/BuildFile.xml +++ b/HeterogeneousCore/CUDAUtilities/test/BuildFile.xml @@ -29,11 +29,9 @@ - diff --git a/HeterogeneousCore/CUDAUtilities/test/HistoContainer_t.cpp b/HeterogeneousCore/CUDAUtilities/test/HistoContainer_t.cpp index 4684cd2bd9de8..a200b3306def1 100644 --- a/HeterogeneousCore/CUDAUtilities/test/HistoContainer_t.cpp +++ b/HeterogeneousCore/CUDAUtilities/test/HistoContainer_t.cpp @@ -43,7 +43,7 @@ void go() { h.finalize(); h4.finalize(); assert(h.size()==N); assert(h4.size()==N); - for (long long j = 0; j < N; j++) { h.fill(v[j],j); if(j<2000) h4.fill(v[j],2); else h4.fill(v[j],j,j%4); } + for (long long j = 0; j < N; j++) { h.fill(v[j],j); if(j<2000) h4.fill(v[j],j,2); else h4.fill(v[j],j,j%4); } assert(h.off[0]==0); assert(h4.off[0]==0); assert(h.size()==N);