From 883b924588fabb95c1d3b4e4d081ccc9be90316f Mon Sep 17 00:00:00 2001 From: Will Tebbutt Date: Wed, 3 Jul 2024 18:54:27 +0100 Subject: [PATCH] Sort out formatting --- test/ad/chainrules.jl | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/test/ad/chainrules.jl b/test/ad/chainrules.jl index e1ee8484..e21f644c 100644 --- a/test/ad/chainrules.jl +++ b/test/ad/chainrules.jl @@ -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(