I was about to write zeros([f(h) for f in (eltype, size)]...) to avoid multiple instances of h but your zero(h) is the winner ![]()
2 Likes
I was about to write zeros([f(h) for f in (eltype, size)]...) to avoid multiple instances of h but your zero(h) is the winner ![]()