Commit 31bd3e22 authored by Sina Ackermann's avatar Sina Ackermann

[groundwater] Fix bug in lenses

Adapt initialization of lowerLeft and upperRight
parent 9b9323b0
......@@ -78,8 +78,8 @@ public:
for (unsigned int lensIdx = 0; lensIdx < numLenses; ++lensIdx)
{
const unsigned int i = 5*lensIdx;
lenses_.push_back(Lens({lenses[i], lenses[i+2]},
{lenses[i+1], lenses[i+3]},
lenses_.push_back(Lens({lenses[i+1], lenses[i+3]},
{lenses[i], lenses[i+2]},
lenses[i+4]*permFactor));
}
}
......
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