Skip to content

Commit d340433

Browse files
Apply suggestions from code review
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
1 parent 73790eb commit d340433

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

test/ad/enzyme.jl

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,8 @@
66
@testset "forward" begin
77
# No batches
88
@testset for RT in (Const, Duplicated, DuplicatedNoNeed),
9-
Tx in (Const, Duplicated), Ty in (Const, Duplicated),
9+
Tx in (Const, Duplicated),
10+
Ty in (Const, Duplicated),
1011
Tz in (Const, Duplicated)
1112

1213
# Rule not picked up by Enzyme on Julia 1.11?!
@@ -20,7 +21,8 @@
2021

2122
# Batches
2223
@testset for RT in (Const, BatchDuplicated, BatchDuplicatedNoNeed),
23-
Tx in (Const, BatchDuplicated), Ty in (Const, BatchDuplicated),
24+
Tx in (Const, BatchDuplicated),
25+
Ty in (Const, BatchDuplicated),
2426
Tz in (Const, BatchDuplicated)
2527

2628
# Rule not picked up by Enzyme on Julia 1.11?!
@@ -35,7 +37,8 @@
3537
@testset "reverse" begin
3638
# No batches
3739
@testset for RT in (Const, Active),
38-
Tx in (Const, Active), Ty in (Const, Active),
40+
Tx in (Const, Active),
41+
Ty in (Const, Active),
3942
Tz in (Const, Active)
4043

4144
test_reverse(Bijectors.find_alpha, RT, (x, Tx), (y, Ty), (z, Tz))

0 commit comments

Comments
 (0)