-
-
Notifications
You must be signed in to change notification settings - Fork 1
Open
Description
When compiled with cython 3.2, setting matrix entries is broken:
sage: from sage.libs.giac import libgiac
sage: A = libgiac([[1,2],[3,4]])
sage: A[0,0]=0
---------------------------------------------------------------------------
TypeError Traceback (most recent call last)
Cell In[4], line 1
----> 1 A[Integer(0),Integer(0)]=Integer(0)
File giac.pyx:1014, in giac.Pygen.__setitem__()
TypeError: Expected bool, got int
sage: from sagemath_giac.giac import libgiac
sage: A = libgiac([[1,2],[3,4]])
sage: A[0,0]=0
---------------------------------------------------------------------------
TypeError Traceback (most recent call last)
Cell In[7], line 1
----> 1 A[Integer(0),Integer(0)]=Integer(0)
File giac.pyx:1014, in giac.Pygen.__setitem__()
TypeError: Expected bool, got int
Metadata
Metadata
Assignees
Labels
No labels