Skip to content

Commit 47013e3

Browse files
author
Joe Petviashvili
committed
Merge branch 'master' of github.com:JuliaComputing/ArrayFire.jl
2 parents a90a8da + d132046 commit 47013e3

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/wrap.jl

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1755,19 +1755,19 @@ end
17551755
function sparse_get_values(_in::AFArray{T,N}) where {T,N}
17561756
out = RefValue{af_array}(0)
17571757
_error(ccall((:af_sparse_get_values,af_lib),af_err,(Ptr{af_array},af_array),out,_in.arr))
1758-
AFArray{T,N}(out[])
1758+
AFArray{T,1}(out[])
17591759
end
17601760

17611761
function sparse_get_row_idx(_in::AFArray{T,N}) where {T,N}
17621762
out = RefValue{af_array}(0)
17631763
_error(ccall((:af_sparse_get_row_idx,af_lib),af_err,(Ptr{af_array},af_array),out,_in.arr))
1764-
AFArray{T,N}(out[])
1764+
AFArray{Int32,1}(out[])
17651765
end
17661766

17671767
function sparse_get_col_idx(_in::AFArray{T,N}) where {T,N}
17681768
out = RefValue{af_array}(0)
17691769
_error(ccall((:af_sparse_get_col_idx,af_lib),af_err,(Ptr{af_array},af_array),out,_in.arr))
1770-
AFArray{T,N}(out[])
1770+
AFArray{Int32,1}(out[])
17711771
end
17721772

17731773
function sparse_get_nnz(_in::AFArray)

0 commit comments

Comments
 (0)