alanderos91 / BioSimulator.jl

A stochastic simulation framework in Julia.
https://alanderos91.github.io/BioSimulator.jl/stable/
Other
47 stars 7 forks source link

UndefVarError: Error not defined #8

Closed oliviaAB closed 5 years ago

oliviaAB commented 5 years ago

Hi,

When I'm running simulations sometimes I get the following message:

UndefVarError: Error not defined

I think this is because the error messages are displayed using for example

 throw(Error("intensity = $(intensity(a)) < 0 at time $algorithm.t"))

instead of

throw(error(...))

Is it a change necessary for Julia v0.7? (I'm still using v0.6.2)

Thank you!

alanderos91 commented 5 years ago

This was accidentally introduced in an old commit. Should be fixed in the latest release once it is merged.

alanderos91 commented 5 years ago

See the v0.4 release (08f118180969431b0a4ef43ec10d970e343b22e9). FYI I have a Julia v0.7 upgrade in place, it just needs to be merged into master.

oliviaAB commented 5 years ago

Thank you!