Skip to content

Commit 41fb953

Browse files
committed
Minor update to comment
1 parent 2cc7547 commit 41fb953

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/generic.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1358,7 +1358,7 @@ ishermitian(x::Number) = (x == conj(x))
13581358
_iszero(V) = iszero(V)
13591359
# A Base.FastContiguousSubArray view of a StridedArray
13601360
FastContiguousSubArrayStrided{T,N,P<:StridedArray,I<:Tuple{AbstractUnitRange, Vararg{Any}}} = Base.SubArray{T,N,P,I,true}
1361-
# Reducing over the entire array instead of all permits vectorization
1361+
# Reducing over the entire array instead of calling `all` within `iszero` permits vectorization
13621362
# The loop is equivalent to a mapreduce, but is faster to compile
13631363
function _iszero(V::FastContiguousSubArrayStrided)
13641364
ret = true

0 commit comments

Comments
 (0)