Skip to content

Commit ddc2b37

Browse files
committed
Fix
1 parent 9f2e492 commit ddc2b37

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cp-algo/math/poly/impl/base.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ namespace cp_algo::math::poly::impl {
1111
p.a.pop_back();
1212
}
1313
}
14-
auto& neg_inplace(auto &p) {
14+
auto neg_inplace(auto &&p) {
1515
std::ranges::transform(p.a, begin(p.a), std::negate{});
1616
return p;
1717
}

0 commit comments

Comments
 (0)