Fix shift error for if statements

This commit is contained in:
Gabriel Gonzalez 2016-10-14 20:06:50 -07:00
parent 7b2a418269
commit 4187b92a7b

View File

@ -1400,6 +1400,11 @@ shift d v (BoolNE a b) = BoolNE a' b'
where
a' = shift d v a
b' = shift d v b
shift d v (BoolIf a b c) = BoolIf a' b' c'
where
a' = shift d v a
b' = shift d v b
c' = shift d v c
shift d v (NaturalPlus a b) = NaturalPlus a' b'
where
a' = shift d v a