Skip to content

Commit

Permalink
Another cython 3.1 fix
Browse files Browse the repository at this point in the history
  • Loading branch information
isuruf committed Sep 30, 2024
1 parent 562ff08 commit 845168d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cmake/cython_test.pyx
Original file line number Diff line number Diff line change
Expand Up @@ -75,8 +75,8 @@ cdef extern from "<symengine/symbol.h>" namespace "SymEngine":
string get_name() nogil

cdef extern from "<symengine/add.h>" namespace "SymEngine":
cdef RCP[Basic] add(RCP[Basic] &a, RCP[Basic] &b) nogil except+
cdef RCP[Basic] sub(RCP[Basic] &a, RCP[Basic] &b) nogil except+
cdef RCP[Basic] add(RCP[Basic] &a, RCP[Basic] &b) except+ nogil
cdef RCP[Basic] sub(RCP[Basic] &a, RCP[Basic] &b) except+ nogil

cdef cppclass Add(Basic):
void as_two_terms(const Ptr[RCP[Basic]] &a, const Ptr[RCP[Basic]] &b)

0 comments on commit 845168d

Please sign in to comment.