I am not a developper, I can't help to correct 
these warning (unfortunatly) but that's 
quiet annoying if one wants to make a clean
worksheet, this one is not too big but 
sometimes it's half a page !


using ODE,Plots
pyplot(size=(300,200),leg=false,
guidefont=font(7), titlefont=font(7));
function oscillator(t, y)
    y[2] = - 3* + y[1] - y[2] / 10
end
oscillator(t, y) = [y[2], - 3* + y[1] - y[2] / 10]
initial = [1.0,0.0];                   # Initial conditions
t = float([0:0.01:50]);   
t,y = ode23(oscillator, initial, t)
y=hcat(y...).';

WARNING: [a] concatenation is deprecated; use collect(a) instead
 in depwarn at ./deprecated.jl:73
while loading In[2], in expression starting on line 9

Reply via email to