From 70deae86154892166c110d0c679622ba51fe63cc Mon Sep 17 00:00:00 2001 From: evanmason Date: Wed, 7 Oct 2015 23:34:32 +0200 Subject: [PATCH] Update utils.jl --- src/utils.jl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/utils.jl b/src/utils.jl index 4b7fd7fdf..aa32e6f04 100644 --- a/src/utils.jl +++ b/src/utils.jl @@ -46,7 +46,7 @@ end function allzeros{T<:Real}(x::Array{T}) for i = 1 : length(x) - if !(x == zero(T)) + if !(x[i] == zero(T)) return false end end