Skip to content

Commit b69a563

Browse files
committed
Remove except + in deference operator in RCP
This is to stop cython from generating code that would store the object returned by dereferencing in a non-const pointer
1 parent 1cc9229 commit b69a563

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

symengine/lib/symengine.pxd

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,7 @@ cdef extern from "<symengine/symengine_rcp.h>" namespace "SymEngine":
121121
null
122122

123123
cdef cppclass RCP[T]:
124-
T& operator*() nogil except +
124+
T& operator*() nogil
125125
# Not yet supported in Cython:
126126
# RCP[T]& operator=(RCP[T] &r_ptr) nogil except +
127127
void reset() nogil except +

0 commit comments

Comments
 (0)