Skip to content

Commit

Permalink
Remove access to FDM method
Browse files Browse the repository at this point in the history
  • Loading branch information
gdalle committed Nov 24, 2024
1 parent bcdf2b4 commit cb68ef6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/differentiation.jl
Original file line number Diff line number Diff line change
Expand Up @@ -41,9 +41,9 @@ using LinearAlgebra: Diagonal, dot
@testset "default_differential_backend" begin
@test default_differential_backend() isa AutoFiniteDifferences

@test length(fd51.method.grid) == 5
@test length(fd51.fdm.grid) == 5
# check method order
@test typeof(fd51.method).parameters[2] == 1
@test typeof(fd51.fdm).parameters[2] == 1
fd71 = AutoFiniteDifferences(central_fdm(7, 1))
@test set_default_differential_backend!(fd71) == fd71
@test default_differential_backend() == fd71
Expand Down

0 comments on commit cb68ef6

Please sign in to comment.