Skip to content
Snippets Groups Projects
Commit 5294a68d authored by Christoph Schwarzmeier's avatar Christoph Schwarzmeier
Browse files

Fix in SCIterator

parent 2ef0b090
Branches
Tags
No related merge requests found
......@@ -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] ));
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment