We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 582b56e commit 7cb50f5Copy full SHA for 7cb50f5
dpnp/dparray.pyx
@@ -430,6 +430,8 @@ cdef class dparray:
430
( < int * > self._dparray_data)[lin_idx] = <int > value
431
elif self.dtype == numpy.bool:
432
( < cpp_bool * > self._dparray_data)[lin_idx] = < cpp_bool > value
433
+ elif self.dtype == numpy.complex64:
434
+ ( < float complex * > self._dparray_data)[lin_idx] = <float complex > value
435
elif self.dtype == numpy.complex128:
436
( < double complex * > self._dparray_data)[lin_idx] = <double complex > value
437
else:
0 commit comments