Skip to content

Commit 4a7e629

Browse files
committed
Fix unbound arg error.
1 parent c6c6283 commit 4a7e629

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/mapreduce.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ _vreduce(op, v::Vec{1}) = VectorizationBase.extractelement(v, 0)
1414
a
1515
end
1616

17-
function mapreduce_simple(f::F, op::OP, args::Vararg{DenseArray{T},A}) where {F,OP,A,T<:NativeTypes}
17+
function mapreduce_simple(f::F, op::OP, args::Vararg{DenseNativeArray,A}) where {F,OP,A}
1818
ptrargs = ntuple(a -> pointer(args[a]), Val(A))
1919
N = length(first(args))
2020
iszero(N) && throw("Length of vector is 0!")

0 commit comments

Comments
 (0)