Skip to content

Commit

Permalink
Add a test for _discretize_sqrt_with_quadraturetrick even though it…
Browse files Browse the repository at this point in the history
…'s unused
  • Loading branch information
nathanaelbosch committed Jan 3, 2024
1 parent e2dd17d commit 59b219c
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions test/core/priors.jl
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,12 @@ h = 0.1
PNDE.drift(sde), PNDE.dispersion(sde), h)
@test A1 A3
@test Matrix(Q1) Q3

if !(sde.F isa PNDE.IsometricKroneckerProduct)
A4, Q4R = PNDE._discretize_sqrt_with_quadraturetrick(sde, h)
@test A1 A4
@test Q1.R Q4R
end
end
end

Expand Down

0 comments on commit 59b219c

Please sign in to comment.