Just for good bookkeeping: The issue was solved by @cryptic.ax on Github.
The solution is returning an empty NamedTuple like so
function affect!(mod,obs,ctx,int)
ModelingToolkit.terminate!(int)
return (;)
end
Thank you all for your help
Just for good bookkeeping: The issue was solved by @cryptic.ax on Github.
The solution is returning an empty NamedTuple like so
function affect!(mod,obs,ctx,int)
ModelingToolkit.terminate!(int)
return (;)
end
Thank you all for your help