Skip to content

Commit

Permalink
slight tweak to test
Browse files Browse the repository at this point in the history
  • Loading branch information
dehann committed Jan 30, 2023
1 parent 23c1f83 commit 1fab573
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/testPartialRangeCrossCorrelations.jl
Expand Up @@ -54,11 +54,11 @@ mvp = fit(MvNormal, L1_p)

# check diagonal structure for correlation
@test isapprox(mvn.Σ.mat[1,1], 4.0, atol=3.5)
@test isapprox(mvn.Σ.mat[2,2], 4.0, atol=3.5)
@test isapprox(mvn.Σ.mat[2,2], 3.4, atol=3.0)
@test isapprox(mvn.Σ.mat[1,2], 2.0, atol=1.65)

@test isapprox(mvp.Σ.mat[1,1], 4.0, atol=3.5)
@test isapprox(mvp.Σ.mat[2,2], 4.0, atol=3.5)
@test isapprox(mvp.Σ.mat[2,2], 3.4, atol=3.0)
@test isapprox(mvp.Σ.mat[1,2], -2.0, atol=1.65)

# sanity check for symmetry
Expand Down

0 comments on commit 1fab573

Please sign in to comment.