We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d32dcfc commit 910b302Copy full SHA for 910b302
src/math/polynomial/algebraic_numbers.cpp
@@ -180,7 +180,7 @@ namespace algebraic_numbers {
180
return m_upmanager;
181
}
182
183
- void del(basic_cell * c) {
+ void del_basic(basic_cell * c) {
184
qm().del(c->m_value);
185
m_allocator.deallocate(sizeof(basic_cell), c);
186
@@ -207,7 +207,7 @@ namespace algebraic_numbers {
207
if (a.is_null())
208
return;
209
if (a.is_basic())
210
- del(a.to_basic());
+ del_basic(a.to_basic());
211
else
212
del(a.to_algebraic());
213
a.clear();
@@ -795,7 +795,7 @@ namespace algebraic_numbers {
795
// root was found
796
scoped_mpq r(qm());
797
to_mpq(qm(), lower(c), r);
798
- del(c);
+ del(a);
799
a = mk_basic_cell(r);
800
return false;
801
0 commit comments