Thanks for trying. I found a few issues, which are fixed now. For now I cannot run your model, so if you could try on your side:
I’d assume going forward with the above version is an improvement. This version does run without these Inf error messages for the example from @Teddy_Groves1 . However, the sampler only produces divergent transitions on that example still. Nevertheless, I must point out that the older rc2 version is not part of the ODE testing framework… which is the released version is. Thus, I do trust the released code more at the moment, given that the new code is far better tested.
I hope the above code also addresses your problems.
EDIT: Things are a bit urgent as I would love to include the changes in the about to be released 2.28.1. So testing now and iterating would be great. From my view all unit tests pass and the
Inf error vanished, which means we have an improvement as it looks.