operating system    : Manjaro Linux 0.8.9
version number      : sage-mathematics-6.1.1-1-x86_64.pkg.tar.xz precompiled 
package
reproducible example:
N = 35
E = EllipticCurve(Integers(N),[5,1])
P = E(0,1)
LCM([2..6])*P
Traceback (click to the left of this block for traceback)
...
UnboundLocalError: local variable 'ZZ' referenced before assignment

--------------------------------------------------------------------

I checked the code and I think it is easy to correct, in fact the solution is
used a few lines below when x1-x2 has no inverse in Z/NZ:

line 694:
if R.is_finite():
     N = R.characteristic()
     from sage.rings.all import ZZ             <-------this part is missing
     N1 = N.gcd(ZZ(2*y1 + a1*x1 + a3))

-- 
You received this message because you are subscribed to the Google Groups 
"sage-devel" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-devel+unsubscr...@googlegroups.com.
To post to this group, send email to sage-devel@googlegroups.com.
Visit this group at http://groups.google.com/group/sage-devel.
For more options, visit https://groups.google.com/d/optout.

Reply via email to