ERROR: LoadError: ArgumentError: @printf: first or second argument must be a format string
Stacktrace:
[1] @printf(::LineNumberNode, ::Module, ::Symbol, ::Vararg{Any,N} where N) at /buildworker/worker/package_linux64/build/usr/share/julia/stdlib/v1.3/Printf/src/Printf.jl:41
in expression starting at REPL[39]:1
function bfsprint(graph::Graph{T},startindex::UInt64) where T
vertex1 = vertexof(getadjlist(graph,startindex))
vertex1.color=Black
q=Queue{Vertex{T}}()
push(q,vertex1)
#adjlist has been changed!!
while @lengthof(q) != 0
v1=remove(q)
print(valueof(v1))
edge=edgeof(graph,indexof(v1))
for (vertex,w) in edge
if vertex.color != Black
push(q,vertex)
vertex.color=Black
end
end
end
end