numpy.array(..., copy=False) -> numpy.asarray(...)
For numpy 2.0
This commit is contained in:
parent
8fd6896a71
commit
ad0adec8e8
6 changed files with 13 additions and 13 deletions
|
|
@ -460,7 +460,7 @@ class ILibraryView(Mapping[str, 'Pattern'], metaclass=ABCMeta):
|
|||
if transform is None or transform is True:
|
||||
transform = numpy.zeros(4)
|
||||
elif transform is not False:
|
||||
transform = numpy.array(transform, dtype=float, copy=False)
|
||||
transform = numpy.asarray(transform, dtype=float)
|
||||
|
||||
original_pattern = pattern
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue