From 3a9bd64b60f113f4e0768760e6d7029a41ed64e3 Mon Sep 17 00:00:00 2001 From: gjj Date: Thu, 29 Aug 2024 11:23:10 +0800 Subject: [PATCH] add a comment --- algoim/polyset.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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(); }