Skip to content

Commit 1d2b262

Browse files
authored
fix: replace use of undocumented AutoForwardDiff constructor (#629)
1 parent 34e0cfc commit 1d2b262

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

DifferentiationInterface/ext/DifferentiationInterfacePolyesterForwardDiffExt/DifferentiationInterfacePolyesterForwardDiffExt.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ using PolyesterForwardDiff.ForwardDiff: Chunk
2424
using PolyesterForwardDiff.ForwardDiff.DiffResults: DiffResults
2525

2626
function single_threaded(backend::AutoPolyesterForwardDiff{chunksize,T}) where {chunksize,T}
27-
return AutoForwardDiff{chunksize,T}(backend.tag)
27+
return AutoForwardDiff(; chunksize, tag=backend.tag)
2828
end
2929

3030
DI.check_available(::AutoPolyesterForwardDiff) = true

0 commit comments

Comments
 (0)