File tree Expand file tree Collapse file tree 2 files changed +5
-3
lines changed
Expand file tree Collapse file tree 2 files changed +5
-3
lines changed Original file line number Diff line number Diff line change 11name = " Enzyme"
22uuid = " 7da242da-08ed-463a-9acd-ee780be4f1d9"
33authors = [" William Moses <wmoses@mit.edu>" , " Valentin Churavy <vchuravy@mit.edu>" ]
4- version = " 0.13.119 "
4+ version = " 0.13.120 "
55
66[deps ]
77CEnum = " fa961155-64e5-5f13-b03f-caf6b980ea82"
Original file line number Diff line number Diff line change @@ -406,13 +406,15 @@ function enzyme_custom_setup_args(
406406 end
407407
408408 if activep == API. DFT_CONSTANT && ! any_active
409- @assert roots_activep == API. DFT_DUP_ARG
409+ if roots_activep != API. DFT_DUP_ARG
410+ throw (AssertionError (" v1 roots_activep ($roots_activep ) != activep ($activep ) arg.typ=$(arg. typ) equivalent_rooted_type=$(equivalent_rooted_type (arg. typ)) non_rooted_types=$(non_rooted_types (arg. typ)) " ))
411+ end
410412 activep = roots_activep
411413 any_active_data = false
412414 end
413415
414416 if roots_activep != activep
415- throw (" roots_activep ($roots_activep ) != activep ($activep ) arg.typ=$(arg. typ) equivalent_rooted_type=$(equivalent_rooted_type (arg. typ)) non_rooted_types=$(non_rooted_types (arg. typ)) " )
417+ throw (AssertionError ( " roots_activep ($roots_activep ) != activep ($activep ) arg.typ=$(arg. typ) equivalent_rooted_type=$(equivalent_rooted_type (arg. typ)) non_rooted_types=$(non_rooted_types (arg. typ)) " ) )
416418 end
417419 end
418420
You can’t perform that action at this time.
0 commit comments