I have a struct that is passed to the high level function that I am using with autodiff. The struct gives a mixed activity warning (as expected). I'm trying to bypass this by passing a reference to the variable instead per the example here: https://docs.sciml.ai/Enzyme/dev/faq/#Mixed-activity
When I run my code Julia crashes with the attached (long) error. I haven't yet been able to reproduce with a MWE but I'm hoping for some help interpreting the error message.
I have a struct that is passed to the high level function that I am using with
autodiff
. The struct gives a mixed activity warning (as expected). I'm trying to bypass this by passing a reference to the variable instead per the example here: https://docs.sciml.ai/Enzyme/dev/faq/#Mixed-activityWhen I run my code Julia crashes with the attached (long) error. I haven't yet been able to reproduce with a MWE but I'm hoping for some help interpreting the error message.
mixed_activity_ref_error.txt