Some packages (in my case DiffEqGPU.jl) seem to assume that if no parameter arguments are given, the parameter type is NullParameters. Actually, I'm a little unclear about what exactly is permitted here since DiffEqGPU calls Array(prob.p), which should probably be changed anyway since this throws errors at all sorts of things.
Regardless, this change seemed appropriate and fixes that particular issue.
Some packages (in my case DiffEqGPU.jl) seem to assume that if no parameter arguments are given, the parameter type is
NullParameters
. Actually, I'm a little unclear about what exactly is permitted here since DiffEqGPU callsArray(prob.p)
, which should probably be changed anyway since this throws errors at all sorts of things.Regardless, this change seemed appropriate and fixes that particular issue.