Code indexing in gitaly is broken and leads to code not being visible to the user. We work on the issue with highest priority.

Skip to content
Snippets Groups Projects
Commit 9b263713 authored by kraus's avatar kraus
Browse files

prevent call to get_bounds if no particles present

parent b1d064d5
No related branches found
No related tags found
No related merge requests found
......@@ -599,8 +599,9 @@ void ParallelTTracker::computeExternalFields(OrbitThreader &oth) {
Inform msg("ParallelTTracker ", *gmsg);
const unsigned int localNum = itsBunch_m->getLocalNum();
bool locPartOutOfBounds = false, globPartOutOfBounds = false;
Vector_t rmin, rmax;
itsBunch_m->get_bounds(rmin, rmax);
Vector_t rmin(0.0), rmax(0.0);
if (itsBunch_m->getTotalNum() > 0)
itsBunch_m->get_bounds(rmin, rmax);
IndexMap::value_t elements;
try {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment