Skip to content
Snippets Groups Projects
Commit 3fe455ce authored by Valentin Perrelle's avatar Valentin Perrelle Committed by David Bühler
Browse files

[Eva] multidim: more readable bound pretty printing

parent ee55fd92
No related branches found
No related tags found
No related merge requests found
......@@ -331,6 +331,8 @@ struct
let pretty fmt : t -> unit = function
| Const i -> Integer.pretty fmt i
| Exp (e,i) when Integer.is_zero i -> Exp.pretty fmt e
| Exp (e,i) when Integer.(lt i zero) ->
Format.fprintf fmt "%a - %a" Exp.pretty e Integer.pretty (Integer.neg i)
| Exp (e,i) ->
Format.fprintf fmt "%a + %a" Exp.pretty e Integer.pretty i
| _ -> raise Not_implemented
......
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