@@ -12,7 +12,7 @@ c = 2.0
1212
1313@testset " Out of place, no tangents" begin
1414 prep = prepare_derivative (f, backend, x, Constant (c))
15- prep_chill = prepare_derivative (f, backend, x, Constant (c))
15+ prep_chill = prepare_derivative (f, backend, x, Constant (c); strict = Val ( false ) )
1616
1717 @test_throws MethodError derivative (nothing , prep_chill, backend, x, Constant (c))
1818
6969
7070@testset " In place, no tangents" begin
7171 prep = prepare_derivative (f!, y, backend, x)
72- prep_chill = prepare_derivative (f!, y, backend, x)
72+ prep_chill = prepare_derivative (f!, y, backend, x; strict = Val ( false ) )
7373
7474 @test_throws MethodError derivative (nothing , y, prep_chill, backend, x, Constant (c))
7575
8787
8888@testset " Out of place, with tangents" begin
8989 prep = prepare_pushforward (f, backend, x, (x,), Constant (c))
90- prep_chill = prepare_pushforward (f, backend, x, (x,), Constant (c))
90+ prep_chill = prepare_pushforward (f, backend, x, (x,), Constant (c); strict = Val ( false ) )
9191
9292 @test_throws MethodError pushforward (nothing , prep_chill, backend, x, (x,))
9393
105105
106106@testset " In place, with tangents" begin
107107 prep = prepare_pushforward (f!, y, backend, x, (x,))
108- prep_chill = prepare_pushforward (f!, y, backend, x, (x,), Constant (c))
108+ prep_chill = prepare_pushforward (
109+ f!, y, backend, x, (x,), Constant (c); strict= Val (false )
110+ )
109111
110112 @test_throws MethodError pushforward (nothing , y, prep_chill, backend, x, (x,))
111113
0 commit comments