Skip to content

Commit 65d5750

Browse files
committed
improve printing
1 parent 159e116 commit 65d5750

File tree

1 file changed

+11
-1
lines changed

1 file changed

+11
-1
lines changed

src/result.jl

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -276,8 +276,18 @@ path_results(ri::ResultIterator) = collect(ri)
276276

277277

278278
function Base.show(io::IO, ri::ResultIterator{Iter}) where {Iter}
279-
print(io, "ResultIterator induced by $Iter")
279+
header = "ResultIterator"
280+
println(io, header)
281+
println(io, "="^(length(header)))
280282
!isnothing(ri.bitmask) && print(" and a filtering bitmask")
283+
println(io, "• start solutions: $(Iter.name.name)")
284+
tracker = ri.S.trackers[1]
285+
if tracker isa EndgameTracker
286+
n = typeof(tracker.tracker.homotopy)
287+
println(io, "• homotopy: $(n.name.name)")
288+
elseif tracker isa PolyhedralTracker
289+
println(io, "• homotopy: Polyhedral")
290+
end
281291
end
282292

283293
function Base.IteratorSize(ri::ResultIterator)

0 commit comments

Comments
 (0)