Skip to content

Commit

Permalink
CompatHelper: bump compat for "FiniteDifferences" to "0.11" (#233)
Browse files Browse the repository at this point in the history
* CompatHelper: bump compat for "FiniteDifferences" to "0.11"

* fixing test for FiniteDifferences 0.11

* old Julia doesn't have hasproperty

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Mateusz Baran <[email protected]>
  • Loading branch information
3 people authored Oct 9, 2020
1 parent f3c5fed commit 4fbb2d3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Project.toml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ StatsBase = "2913bbd2-ae8a-5f71-8c99-4fb6c76f3a91"
Distributions = "0.22.6, 0.23, 0.24"
Einsum = "0.4"
FiniteDiff = "2"
FiniteDifferences = "0.9, 0.10"
FiniteDifferences = "0.9, 0.10, 0.11"
HybridArrays = "0.3"
LightGraphs = "1"
ManifoldsBase = "0.9.5"
Expand Down
2 changes: 1 addition & 1 deletion test/differentiation.jl
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ using LinearAlgebra: Diagonal, dot
@test length(diff_backends()) == 1
@test diff_backends()[1] isa Manifolds.FiniteDifferencesBackend

@test fd51.method.p == 5
@test length(fd51.method.grid) == 5
@test fd51.method.q == 1
fd71 = Manifolds.FiniteDifferencesBackend(central_fdm(7, 1))
@test diff_backend!(fd71) == fd71
Expand Down

0 comments on commit 4fbb2d3

Please sign in to comment.