Skip to content

Commit

Permalink
Merge pull request JuliaStats#426 from evanmason/master
Browse files Browse the repository at this point in the history
bugfix for utils.jl
  • Loading branch information
simonbyrne committed Feb 8, 2016
2 parents 3fa2830 + d477d59 commit 5d95c16
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/utils.jl
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 5d95c16

Please sign in to comment.