Fix segfault, fixes 5621

This commit is contained in:
Ingo Weyrich
2020-01-26 18:38:18 +01:00
committed by GitHub
parent 24684e5cb3
commit 397099c543

View File

@@ -790,6 +790,10 @@ BENCHFUN
}
}
if (std::isnan(radius)) {
return;
}
if (showMask) {
array2D<float>& L = blue; // blue will be overridden anyway => we can use its buffer to store L
#ifdef _OPENMP