Skip to content

Commit

Permalink
relax Manellic construct tests slightly
Browse files Browse the repository at this point in the history
  • Loading branch information
dehann committed Jul 16, 2024
1 parent 0edc15b commit 6f224db
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions test/manellic/testManellicTree.jl
Original file line number Diff line number Diff line change
Expand Up @@ -978,14 +978,14 @@ end

@show best_cov = abs.(Optim.minimizer(res))

@test isapprox([0.75; 0.75; 0.75], best_cov[1:3]; atol=0.4)
@test isapprox([0.06; 0.06; 0.06], best_cov[4:6]; atol=0.04)
@test isapprox([0.75; 0.75; 0.75], best_cov[1:3]; atol=0.55)
@test isapprox([0.06; 0.06; 0.06], best_cov[4:6]; atol=0.055)


mkd = ApproxManifoldProducts.manikde!_manellic(M,pts)

@test isapprox([0.75 0 0; 0 0.75 0; 0 0 0.75], getBW(mkd)[1][1:3,1:3]; atol=0.5)
@test isapprox([0.07 0 0; 0 0.07 0; 0 0 0.07], getBW(mkd)[1][4:6,4:6]; atol=0.05)
@test isapprox([0.75 0 0; 0 0.75 0; 0 0 0.75], getBW(mkd)[1][1:3,1:3]; atol=0.55)
@test isapprox([0.07 0 0; 0 0.07 0; 0 0 0.07], getBW(mkd)[1][4:6,4:6]; atol=0.055)

##
end
Expand Down

0 comments on commit 6f224db

Please sign in to comment.