Skip to content

Commit a38301c

Browse files
committed
More noise
1 parent 0da2158 commit a38301c

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

  • DifferentiationInterface/ext/DifferentiationInterfaceEnzymeExt

DifferentiationInterface/ext/DifferentiationInterfaceEnzymeExt/utils.jl

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,13 +9,13 @@ to_val(::DI.BatchSizeSettings{B}) where {B} = Val(B)
99
## Annotations
1010

1111
@inline function get_f_and_df(
12-
f::F, backend::AutoEnzyme{M,Nothing}, mode::Mode, (::Val{B})=Val(1)
12+
f::F, backend::AutoEnzyme{M,Nothing}, mode::Mode, ::Val{B}=Val(1)
1313
) where {F,M,B}
1414
return f
1515
end
1616

1717
@inline function get_f_and_df(
18-
f::F, backend::AutoEnzyme{M,<:Const}, mode::Mode, (::Val{B})=Val(1)
18+
f::F, backend::AutoEnzyme{M,<:Const}, mode::Mode, ::Val{B}=Val(1)
1919
) where {F,M,B}
2020
return Const(f)
2121
end
@@ -34,7 +34,7 @@ end
3434
},
3535
},
3636
mode::Mode,
37-
(::Val{B})=Val(1),
37+
::Val{B}=Val(1),
3838
) where {F,M,B}
3939
# TODO: needs more sophistication for mixed activities
4040
if B == 1

0 commit comments

Comments
 (0)