Skip to content

Commit

Permalink
Sort out formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
willtebbutt committed Jul 3, 2024
1 parent a72af0a commit 883b924
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions test/ad/chainrules.jl
Original file line number Diff line number Diff line change
Expand Up @@ -28,18 +28,16 @@ end
test_rrule(Bijectors.find_alpha, x, y, z)

if @isdefined Tapir
rng = Xoshiro(123456)
Tapir.TestUtils.test_rrule!!(
Xoshiro(123), Bijectors.find_alpha, x, y, z; is_primitive=true, perf_flag=:none
rng, Bijectors.find_alpha, x, y, z; is_primitive=true, perf_flag=:none
)
Tapir.TestUtils.test_rrule!!(
Xoshiro(123), Bijectors.find_alpha, x, y, 3; is_primitive=true, perf_flag=:none
rng, Bijectors.find_alpha, x, y, 3; is_primitive=true, perf_flag=:none
)
#! format: off
Tapir.TestUtils.test_rrule!!(
Xoshiro(123), Bijectors.find_alpha, x, y, UInt32(3);
is_primitive=true, perf_flag=:none,
rng, Bijectors.find_alpha, x, y, UInt32(3); is_primitive=true, perf_flag=:none
)
#! format: on
end

test_rrule(
Expand Down

0 comments on commit 883b924

Please sign in to comment.