27 Sep
2008
27 Sep
'08
7:03 p.m.
Dear Alexei, Alexei Sheplyakov schrieb:
cl_UP is actually a pointer to a coefficient vector. This assignment creates the pointer c which points to the same data as a. That's probably not what you want. Perhaps you meant
c = a.ring()->create(degree(a)); for (std::size_t i = 0; i <= degree(a); ++i) c.set_coeff(i, a.coeff(i)); c.finalize();
now I understand, thanks for the help! Regards, Jens