Say how many sample solutions we found

This commit is contained in:
Aaron Fenyes 2024-02-10 01:06:06 -05:00
parent becefe0c47
commit 06872a04af

View File

@ -298,7 +298,7 @@ for _ in 1:3
wtns = witness_set(system, cut_subspace) wtns = witness_set(system, cut_subspace)
append!(samples, solution.(filter(isreal, results(wtns)))) append!(samples, solution.(filter(isreal, results(wtns))))
end end
println("witness solutions:") println("$(length(samples)) sample solutions:")
for soln in samples for soln in samples
display([vbls round.(soln, digits = 6)]) display([vbls round.(soln, digits = 6)])
k_sq = abs2(soln[1]) k_sq = abs2(soln[1])