diff options
Diffstat (limited to 'backend/IRC.ml')
-rw-r--r-- | backend/IRC.ml | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/backend/IRC.ml b/backend/IRC.ml index d9e4651e..21ee0799 100644 --- a/backend/IRC.ml +++ b/backend/IRC.ml @@ -906,10 +906,10 @@ let location_of_var g v = (* The exported interface *) let add_interf g v1 v2 = - addEdge g (nodeOfVar g v1) (nodeOfVar g v2) + let n1 = nodeOfVar g v1 in let n2 = nodeOfVar g v2 in addEdge g n1 n2 let add_pref g v1 v2 = - addMovePref g (nodeOfVar g v1) (nodeOfVar g v2) + let n1 = nodeOfVar g v1 in let n2 = nodeOfVar g v2 in addMovePref g n1 n2 let coloring g = initialNodePartition g; |