Skip to content

Commit d913fd7

Browse files
authored
change negate of Num Bit from complement## to id
1 parent 1267e21 commit d913fd7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

clash-prelude/src/Clash/Sized/Internal/BitVector.hs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -369,7 +369,7 @@ instance Num Bit where
369369
(+) = xor##
370370
(-) = xor##
371371
(*) = and##
372-
negate = complement##
372+
negate = id
373373
abs = id
374374
signum b = b
375375
fromInteger = fromInteger## 0##

0 commit comments

Comments
 (0)