Yeah, that looks good, though you don’t have to do adaptive = true since that’s the default. Also, using autodiff here should be fine, and I’m not sure setting the initial dt is necessary.
3 Likes
Yeah, that looks good, though you don’t have to do adaptive = true since that’s the default. Also, using autodiff here should be fine, and I’m not sure setting the initial dt is necessary.