Skip to content

Commit

Permalink
Merge pull request #500 from bjodah/update-cython-nogil-syntax
Browse files Browse the repository at this point in the history
normlize cython syntax: cython/cython#5430
  • Loading branch information
bjodah authored Jan 13, 2025
2 parents b5bd3fe + 2148531 commit e21a4e9
Show file tree
Hide file tree
Showing 2 changed files with 154 additions and 154 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) except+ nogil
cdef RCP[Basic] sub(RCP[Basic] &a, RCP[Basic] &b) except+ nogil
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 cppclass Add(Basic):
void as_two_terms(const Ptr[RCP[Basic]] &a, const Ptr[RCP[Basic]] &b)
Loading

0 comments on commit e21a4e9

Please sign in to comment.