mirror of
https://github.com/CoolProp/CoolProp.git
synced 2026-04-23 03:00:17 -04:00
ndarray_or_iterable is no longer exposed to python
Signed-off-by: Ian Bell <ian.h.bell@gmail.com>
This commit is contained in:
@@ -35,7 +35,7 @@ cdef bint iterable(object a):
|
||||
else:
|
||||
return isinstance(a,(list, tuple))
|
||||
|
||||
cpdef ndarray_or_iterable(object input):
|
||||
cdef ndarray_or_iterable(object input):
|
||||
if _numpy_supported:
|
||||
return np.array(input)
|
||||
else:
|
||||
|
||||
Reference in New Issue
Block a user