File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -353,7 +353,7 @@ function init_array()
353353 @property
354354 def __array_interface__(self):
355355 return self._jl_callmethod($(pyjl_methodnum (pyjlarray_array_interface)) )
356- def __array__(self, dtype=None):
356+ def __array__(self, dtype=None, copy=None ):
357357 # convert to an array-like object
358358 arr = self
359359 if not (hasattr(arr, "__array_interface__") or hasattr(arr, "__array_struct__")):
@@ -365,7 +365,7 @@ function init_array()
365365 except ImportError:
366366 numpy = None
367367 if numpy is not None:
368- return numpy.array(arr, dtype=dtype, copy=copy, order=order )
368+ return numpy.array(arr, dtype=dtype, copy=copy)
369369 return arr
370370 def to_numpy(self, dtype=None, copy=True, order="K"):
371371 import numpy
You can’t perform that action at this time.
0 commit comments