Oopps my bad - the conversion error makes sense - the 10 is an Int.
Would it be better then to use zeros() or a list comprehension here? Zeros default type is Float64 so going through an intermediate type may be expansive for large arrays...
Oopps my bad - the conversion error makes sense - the 10 is an Int.
Would it be better then to use zeros() or a list comprehension here? Zeros default type is Float64 so going through an intermediate type may be expansive for large arrays...