Commit 255d140d authored by Iustin Pop's avatar Iustin Pop
Browse files

Fix printSolutionLine to handle big scores

Currently we don't set a boundary on the length of the score field,
which breaks all our nicely-aligned output efforts.
Signed-off-by: default avatarIustin Pop <>
Reviewed-by: default avatarGuido Trotter <>
parent e85444d0
......@@ -1242,7 +1242,7 @@ printSolutionLine nl il nmlen imlen plc pos =
nstr = if s == Node.noSecondary
then printf "%s" npri
else printf "%s:%s" npri nsec
in (printf " %3d. %-*s %-*s => %-*s %.8f a=%s"
in (printf " %3d. %-*s %-*s => %-*s %12.8f a=%s"
pos imlen inam pmlen (ostr::String)
pmlen (nstr::String) c moves,
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment