diff --git a/clash-prelude/src/Clash/Sized/Vector/Par.hs b/clash-prelude/src/Clash/Sized/Vector/Par.hs index 73b9886e33..a74522e3fb 100644 --- a/clash-prelude/src/Clash/Sized/Vector/Par.hs +++ b/clash-prelude/src/Clash/Sized/Vector/Par.hs @@ -58,7 +58,8 @@ scanlInductiveRTree -> RTree n a -> Vec (2^n) a scanlInductiveRTree op tr = - -- I have to use sameNat and compareSNat both; otherwise it doesn't compile + -- I have to use sameNat and compareSNat both; the proofs that n>=1 and n~0 + -- don't work nicely together case (sameNat (Proxy @n) (Proxy @0), compareSNat (SNat @n) (SNat @0), tr) of (Just Refl, _, LR x) -> x :> Nil (_, SNatGT, BR x y) ->