pastebin

MethodError: no method matchin
  1. MethodError: no method matching lastindex(::typeof(time))
  2. Closest candidates are:
  3.   lastindex(!Matched::Core.SimpleVector) at essentials.jl:599
  4.   lastindex(!Matched::Cmd) at process.jl:639
  5.   lastindex(!Matched::Base64.Buffer) at D:\buildbot\worker\package_win64\build\usr\share\julia\stdlib\v1.3\Base64\src\buffer.jl:19
  6.   ...
  7.  
  8. Stacktrace:
  9.  [1] stochasticSIR(::Array{Float64,1}, ::Array{Int64,1}, ::Int64) at .\In[6]:20
  10.  [2] top-level scope at In[6]:51
  11.  
  12. #  β = 0.0001, ɣ = 0.05, S = 999, I = 1, R = 0, timeStop = 20
Parsed in 0.002 seconds