mirror of
https://github.com/kalmarek/PropertyT.jl.git
synced 2024-11-22 16:05:27 +01:00
fix: avoid random numeric fails
This commit is contained in:
parent
5e821286e5
commit
f39680042d
@ -33,7 +33,7 @@
|
|||||||
@time sos_sqr = PropertyT.compute_SOS_square(pm, Q)
|
@time sos_sqr = PropertyT.compute_SOS_square(pm, Q)
|
||||||
@time sos_hpc = PropertyT.compute_SOS(pm, Q)
|
@time sos_hpc = PropertyT.compute_SOS(pm, Q)
|
||||||
|
|
||||||
@test norm(sos_sqr - sos_hpc, 1) < 3e-12
|
@test norm(sos_sqr - sos_hpc, 1) < 4e-12
|
||||||
@info "$NAME:\nDifference in l₁-norm between square and hpc sos decompositions:" norm(eoi-sos_sqr,1) norm(eoi-sos_hpc,1) norm(sos_sqr - sos_hpc, 1)
|
@info "$NAME:\nDifference in l₁-norm between square and hpc sos decompositions:" norm(eoi-sos_sqr,1) norm(eoi-sos_hpc,1) norm(sos_sqr - sos_hpc, 1)
|
||||||
|
|
||||||
#########################################################
|
#########################################################
|
||||||
|
Loading…
Reference in New Issue
Block a user