-
Notifications
You must be signed in to change notification settings - Fork 15
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
2743e18
commit 1b6410a
Showing
5 changed files
with
32 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
8 changes: 8 additions & 0 deletions
8
...erface/ext/DifferentiationInterfaceTaylorDiffExt/DifferentiationInterfaceTaylorDiffExt.jl
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
module DifferentiationInterfaceTaylorDiffExt | ||
|
||
using ADTypes: AutoTaylorDiff | ||
import DifferentiationInterface as DI | ||
using TaylorDiff | ||
|
||
DI.check_available(::AutoTaylorDiff) = true | ||
Check warning on line 7 in DifferentiationInterface/ext/DifferentiationInterfaceTaylorDiffExt/DifferentiationInterfaceTaylorDiffExt.jl Codecov / codecov/patchDifferentiationInterface/ext/DifferentiationInterfaceTaylorDiffExt/DifferentiationInterfaceTaylorDiffExt.jl#L7
|
||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
using Pkg | ||
Pkg.add("TaylorDiff") | ||
|
||
using DifferentiationInterface, DifferentiationInterfaceTest | ||
import DifferentiationInterfaceTest as DIT | ||
using TaylorDiff: TaylorDiff | ||
using Test | ||
|
||
LOGGING = get(ENV, "CI", "false") == "false" | ||
|
||
backends = [AutoTaylorDiff(), AutoTaylorDiff(; order=2)] | ||
|
||
for backend in backends | ||
@test check_available(backend) | ||
@test check_inplace(backend) | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters