This commit is contained in:
Giorgio Calderone 2020-10-06 10:21:46 +02:00
parent f62b569560
commit b7a15290d3

View File

@ -809,7 +809,7 @@ function useBinaryMethod(args...)
elseif options.preferred_format == :auto
if (length(args) == 1) && isa(args[1], AbstractMatrix)
binary = true
elseif all(ndims.(args) .== 1) && all(eltype.(args) .<: Real)
elseif all(ndims.(args) .== 1) && all(Base.:<:.(eltype.(args), Real))
s = sum(length.(args))
if s > 1e4
binary = true