Fix crash

This commit is contained in:
tamasmeszaros 2023-03-03 14:36:05 +01:00
parent f600ea2c5b
commit 38de7e14fd

View File

@ -694,7 +694,7 @@ void arrange(ArrangePolygons &items,
auto it = std::max_element(items.begin(), items.end(),
[](auto &i1, auto &i2) {
return i1.bed_idx < i1.bed_idx;
return i1.bed_idx < i2.bed_idx;
});
size_t beds = 0;