fix autodiff enum comparison warnings
1 file changed