I am off to bed, but I think that might do it. Thank you!

On Saturday, November 28, 2015 at 11:45:26 PM UTC+1, Kristoffer Carlsson 
wrote:
>
> You are most likely trying to copy a "gradient number" into a vector that 
> only takes Floats or something.
>
> If you initialize your vector with zeros(10) or something, you should 
> instead initialize it like zeros(eltype(x), 10) where x is your input 
> vector.
>

Reply via email to