From 5294a68d3698e4534db934adffa3d2de2db2fa7d Mon Sep 17 00:00:00 2001 From: Christoph Schwarzmeier <christoph.schwarzmeier@fau.de> Date: Mon, 25 Jun 2018 16:16:19 +0200 Subject: [PATCH] Fix in SCIterator --- src/core/grid_generator/SCIterator.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/core/grid_generator/SCIterator.cpp b/src/core/grid_generator/SCIterator.cpp index 73ff5330c..cf5c9d751 100644 --- a/src/core/grid_generator/SCIterator.cpp +++ b/src/core/grid_generator/SCIterator.cpp @@ -64,7 +64,7 @@ SCIterator::SCIterator(const AABB& domain, const Vector3<real_t>& pointOfReferen auto min = domain.min() - pointOfReference_; iReturn_ = int_c( ceil( min[0] / spacing[0] ) ); i_ = iReturn_; - jReturn_ = int_c(ceil( min[1] / spacing[1] ) + real_c(0.1)); + jReturn_ = int_c(ceil( min[1] / spacing[1] )); j_ = jReturn_; k_ = int_c (ceil( min[2] / spacing[2] )); -- GitLab