]> hydra-www.ietfng.org Git - dyna2/commitdiff
Let's try that again.
authorNathaniel Wesley Filardo <nwf@cs.jhu.edu>
Thu, 13 Dec 2012 03:07:12 +0000 (22:07 -0500)
committerNathaniel Wesley Filardo <nwf@cs.jhu.edu>
Thu, 13 Dec 2012 03:07:12 +0000 (22:07 -0500)
src/Dyna/Analysis/RuleMode.hs

index 399bbde84971791c0b0776e1d734d7675960677c..d50f6b14d01ec0bd300ad3397c76a1de9b002be7 100644 (file)
@@ -254,10 +254,10 @@ possible cr = case cr of
 
   -- XXX this really ought to be done some other way
   inv :: DFunct -> [ModedVar] -> ModedVar -> [Action]
-  inv "+" is [(MB x), (MF y)] (MB o)
+  inv "+" [(MB x), (MF y)] (MB o)
                   = [[ OPCall y [o,x] "-" ]]
 
-  inv "+" is [(MF x), (MB y)] (MB o)
+  inv "+" [(MF x), (MB y)] (MB o)
                   = [[ OPCall x [o,y] "-" ]]
 
   inv "-" [(MB x),(MF y)] (MB o)