From 6fce8a75e239988d2ce154f5411dd2d8c742f3f6 Mon Sep 17 00:00:00 2001 From: Tom Smeding Date: Mon, 4 Nov 2024 23:33:34 +0100 Subject: WIP EOneHot --- src/ForwardAD/DualNumbers.hs | 1 + 1 file changed, 1 insertion(+) (limited to 'src/ForwardAD/DualNumbers.hs') diff --git a/src/ForwardAD/DualNumbers.hs b/src/ForwardAD/DualNumbers.hs index beb93da..8b4acb3 100644 --- a/src/ForwardAD/DualNumbers.hs +++ b/src/ForwardAD/DualNumbers.hs @@ -186,6 +186,7 @@ dfwdDN = \case EAccum{} -> err_accum EZero{} -> err_monoid EPlus{} -> err_monoid + EOneHot{} -> err_monoid where err_accum = error "Accumulator operations unsupported in the source program" err_monoid = error "Monoid operations unsupported in the source program" -- cgit v1.2.3-70-g09d2