Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

isempty fails for AFArray #225

Closed
WKusnezow opened this issue Nov 19, 2018 · 0 comments
Closed

isempty fails for AFArray #225

WKusnezow opened this issue Nov 19, 2018 · 0 comments

Comments

@WKusnezow
Copy link

julia> isempty([1.f0,2.f0])
false

julia> isempty(AFArray([1.f0,2.f0]))
ERROR: MethodError: no method matching iterate(::AFArray{Float32,1})
Closest candidates are:
  iterate(::Core.SimpleVector) at essentials.jl:589
  iterate(::Core.SimpleVector, ::Any) at essentials.jl:589
  iterate(::ExponentialBackOff) at error.jl:171
  ...
Stacktrace:
 [1] isempty(::AFArray{Float32,1}) at ./essentials.jl:721
 [2] top-level scope at none:0
@ghost ghost closed this as completed in 99aecc6 Nov 19, 2018
This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant