Fix of type instability in SIR model:
- Real => Float64 for better performance (Real is an abstract type) - Should not create a type inside the model because the compiler fails at estimating the type of the output of the f function (detected with @code_warntype) - Intentionaly ER is not as well improved as SIR in order to check the differences of performance.
Please register or sign in to comment