diff --git a/algoim/polyset.hpp b/algoim/polyset.hpp index 9daab9a..1a3eed1 100644 --- a/algoim/polyset.hpp +++ b/algoim/polyset.hpp @@ -45,7 +45,7 @@ struct PolySet { { items.push_back({p.ext(), buff.size(), m}); buff.resize(buff.size() + p.size()); - poly(items.size() - 1) = p; + poly(items.size() - 1) = p; // 这里做了一个数据深拷贝,这是为什么xarray在调用push_back后可以被释放 } size_t count() const { return items.size(); }