You have the same problem with QQ. Use FlintQQ instead of QQ.
On Wednesday, July 13, 2016 at 1:31:23 PM UTC+2, Alireza Nejati wrote: > > Tommy: Thanks! > > About ZZ, I didn't know that. Thanks. I only use ZZ when carrying out > polynomial factoring though. For most everything else I use QQ. Would it > make much of a difference? > > Cheers, > > On Wednesday, July 13, 2016 at 10:13:41 PM UTC+12, Tommy Hofmann wrote: >> >> Looks cool! >> >> It is quite different to Hecke. You work in the field of all algebraic >> numbers, while Hecke works with elements inside an algebraic number field. >> >> I skimmed over the code and noticed that you use ZZ. If you care about >> performance, you might want to change ZZ to FlintZZ. The variabe ZZ is a >> global variable, while FlintZZ is a constant variable. >> >> On Wednesday, July 13, 2016 at 2:21:18 AM UTC+2, Alireza Nejati wrote: >>> >>> Ever wanted to do exact arithmetic, geometry, and so on? Well now you >>> can: >>> >>> https://github.com/anj1/AlgebraicNumbers.jl >>> >>