Skip to content

Commit

Permalink
Actually test the quadraturetrick
Browse files Browse the repository at this point in the history
  • Loading branch information
nathanaelbosch committed Jan 3, 2024
1 parent 59b219c commit 53b7eef
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions test/core/priors.jl
Original file line number Diff line number Diff line change
Expand Up @@ -22,11 +22,10 @@ h = 0.1
@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
A4, Q4R = PNDE._discretize_sqrt_with_quadraturetrick(
PNDE.LTISDE(Matrix(sde.F), Matrix(sde.L)), h)
@test A1 A4
@test Q1.R Q4R
end
end

Expand Down

0 comments on commit 53b7eef

Please sign in to comment.