mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-11 16:57:53 -06:00
Fix asan crash on statistics step
This commit is contained in:
parent
cf3b992269
commit
1634cd1a3c
1 changed files with 2 additions and 0 deletions
|
@ -176,6 +176,8 @@ private:
|
||||||
{
|
{
|
||||||
return level<T>(r1) < level<T>(r2);
|
return level<T>(r1) < level<T>(r2);
|
||||||
});
|
});
|
||||||
|
|
||||||
|
if(it == cont.end()) return it;
|
||||||
|
|
||||||
T diff = std::abs(level<T>(*it) - lvl);
|
T diff = std::abs(level<T>(*it) - lvl);
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue