Skip to content

Commit bb5b40c

Browse files
richardotisisuruf
authored andcommitted
FIX: Same fix, but for unsafe_complex_ptr
1 parent 546b8f1 commit bb5b40c

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

symengine/lib/symengine_wrapper.pyx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4517,7 +4517,8 @@ cdef class _Lambdify(object):
45174517
raise ValueError("Not supported")
45184518

45194519
cdef void unsafe_complex_ptr(self, double complex *inp, double complex *out) nogil:
4520-
raise ValueError("Not supported")
4520+
with gil:
4521+
raise ValueError("Not supported")
45214522

45224523
cpdef unsafe_complex(self, double complex[::1] inp, double complex[::1] out,
45234524
int inp_offset=0, int out_offset=0):

0 commit comments

Comments
 (0)