Skip to content

Commit 2fcc57e

Browse files
committed
fix type instability in PyArray (closes #672)
1 parent 4f5752b commit 2fcc57e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/pyarray.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ If you are using `pycall` and the function returns an `ndarray`, you can use `Py
9898
mutable struct PyArray{T,N} <: AbstractArray{T,N}
9999
o::PyObject
100100
info::PyArray_Info
101-
dims::Dims
101+
dims::NTuple{N,Int}
102102
st::NTuple{N,Int}
103103
f_contig::Bool
104104
c_contig::Bool

0 commit comments

Comments
 (0)