Commit 540480ac authored by mattijs's avatar mattijs Committed by Mark Olesen
Browse files

BUG: arrarySet: incorrect index->location. Fixes #1506

parent 0fe82612
......@@ -66,7 +66,7 @@ void Foam::arraySet::calcSamples
for (label i=1; i<=pointsDensity_.x(); ++i)
// Local Cartesian
point pt(i*dx*i , j*dy, k*dz);
point pt(i*dx, j*dy, k*dz);
// Global Cartesian
pt = csys_.globalPosition(pt);
Markdown is supported
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