#9524: Nasty bug with polynomial arithmetic and NTL contexts
-------------------------------------+-------------------------------------
Reporter: craigcitro | Owner: AlexGhitza
Type: defect | Status: needs_review
Priority: critical | Milestone: sage-6.2
Component: basic arithmetic | Resolution:
Keywords: | Merged in:
Authors: Jean-Pierre Flori | Reviewers:
Report Upstream: N/A | Work issues:
Branch: | Commit:
u/jpflori/ticket/9524 | 964979fc886e507447a047efd0c471f3e348119e
Dependencies: | Stopgaps:
-------------------------------------+-------------------------------------
Comment (by jpflori):
I've pushed a C++ solution to `u/jpflori/ticket/9524cpp` which is
currently broken for two reasons:
* It adds an header in `src/sage/libs/ntl/ZZ_peContext_ptrs.h` which is
found by the files needing it in the same folder, but not by files in
other folders, e.g. files in the `padics` folder. As a testing hack, just
copy it to `local/include`.
* python fails to import/dlopen `polynomial_zz_pex.so` (just try the
ticket description test with the C++ branch) because of an undefined
reference to the `restore` method of the new `ZZ_pEContext_ptrs` C++
class. Note the symbol is well defined in `ntl_ZZ_pEContext_class.so`
(with the same C++ name mangling stuff, and `nm` gives a `D` for it) and
can be used from there. I've not coded in C++ for some time, so I must
have done somethign wrong. If any better (or just real) C++ coder can give
us a clue, that would be very welcome.
Whatsoever, unless someone knows how to easily fix the above two issues,
let's get the dirty plain C solution merged.
--
Ticket URL: <http://trac.sagemath.org/ticket/9524#comment:10>
Sage <http://www.sagemath.org>
Sage: Creating a Viable Open Source Alternative to Magma, Maple, Mathematica,
and MATLAB
--
You received this message because you are subscribed to the Google Groups
"sage-trac" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/sage-trac.
For more options, visit https://groups.google.com/d/optout.