Fix asan crash on statistics step

This commit is contained in:
tamasmeszaros 2019-05-06 16:57:46 +02:00
parent cf3b992269
commit 1634cd1a3c

View File

@ -177,6 +177,8 @@ private:
return level<T>(r1) < level<T>(r2);
});
if(it == cont.end()) return it;
T diff = std::abs(level<T>(*it) - lvl);
if(it != cont.begin()) {