Commit 3bab3ef7 authored by snuverink_j's avatar snuverink_j
Browse files

bugfix: readd line that was lost, for #293

parent f789e041
......@@ -74,6 +74,7 @@ bool Stripper::doCheck(PartBunchBase<double, 3> *bunch, const int turnnumber, co
bool flagNeedUpdate = false;
bool flagresetMQ = false;
Vector_t rmin, rmax, strippoint;
bunch->get_bounds(rmin, rmax);
// interested in absolute maximum
double xmax = std::max(std::abs(rmin(0)), std::abs(rmax(0)));
double ymax = std::max(std::abs(rmin(1)), std::abs(rmax(1)));
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