Skip to content

Commit 83259f9

Browse files
committed
minor fix to eGrid
1 parent 64b1693 commit 83259f9

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

VerifyNeonPRWindows.bat

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ git fetch origin refs/pull/%PR%/head:pull_%PR%
1111
git checkout pull_%PR%
1212
mkdir build
1313
cd build
14-
cmake ..
14+
cmake -G "Visual Studio 16 2019" ..
1515
cmake --build . --config Release -j 10
1616
set ctest_filename=CTestNeonWindowsReport.log
1717
ctest --no-compress-output --output-on-failure -T Test --build-config Release --output-log %ctest_filename%

libNeonDomain/include/Neon/domain/tools/Partitioner1D.h

+2-2
Original file line numberDiff line numberDiff line change
@@ -361,7 +361,7 @@ class Partitioner1D
361361
auto const start = mData->mSpanLayout->getBoundsInternal(setIdx, byDomain).first;
362362
for (uint64_t blockIdx = 0; blockIdx < mapperVec.size(); blockIdx++) {
363363
auto const& point3d = mapperVec[blockIdx];
364-
for (int s = 0; s < mData->mStencil.nPoints(); s++) {
364+
for (int s = 0; s < mData->mStencil.nNeighbours(); s++) {
365365

366366
auto const offset = mData->mStencil.neighbours()[s];
367367

@@ -393,7 +393,7 @@ class Partitioner1D
393393
auto const start = mData->mSpanLayout->getBoundsBoundary(setIdx, byDirection, byDomain).first;
394394
for (int64_t blockIdx = 0; blockIdx < int64_t(mapperVec.size()); blockIdx++) {
395395
auto const& point3d = mapperVec[blockIdx];
396-
for (int s = 0; s < mData->mStencil.nPoints(); s++) {
396+
for (int s = 0; s < mData->mStencil.nNeighbours(); s++) {
397397

398398

399399
auto const offset = mData->mStencil.neighbours()[s];

0 commit comments

Comments
 (0)