Confusing memory allocations when using the integrator of DifferentialEquations.jl

Your struct isn’t type stable. Specifically, the compiler can’t figure out what the type of a.integrator is.