Skip to content
Snippets Groups Projects
Commit 670b57ad authored by Iustin Pop's avatar Iustin Pop
Browse files

Small change in hscan

This fixes a mistake between Int/Integer. Should be more careful :)
parent 127e0396
No related branches found
No related tags found
No related merge requests found
......@@ -82,8 +82,8 @@ serializeNodes nl csf ktn =
nlines = map
(\node ->
let name = (fromJust $ lookup (Node.idx node) etn)
t_mem = (truncate $ Node.t_mem node)::Integer
t_dsk = (truncate $ Node.t_dsk node)::Integer
t_mem = (truncate $ Node.t_mem node)::Int
t_dsk = (truncate $ Node.t_dsk node)::Int
in
printf "%s|%d|%d|%d|%d" name
t_mem (Node.f_mem node)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment