Skip to content

Commit

Permalink
Repro for too complicated to desugar problem
Browse files Browse the repository at this point in the history
  • Loading branch information
Mikolaj committed Aug 7, 2023
1 parent 79a5096 commit a458406
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/HordeAd/Core/Engine.hs
Expand Up @@ -67,15 +67,15 @@ rev
, vals ~ Value astvals, Value vals ~ vals )
=> (astvals -> g FullSpan r y) -> vals -> vals
rev f vals = revDtMaybe f vals Nothing
{- TODO: RULE left-hand side too complicated to desugar
--{- TODO: RULE left-hand side too complicated to desugar
{-# SPECIALIZE rev
:: ( HasSingletonDict y
, AdaptableDomains (AstDynamic FullSpan) astvals
, AdaptableDomains OD.Array vals
, vals ~ Value astvals, Value vals ~ vals )
=> (astvals -> AstRanked FullSpan Double y) -> vals
-> vals #-}
-}
---}

-- | This version additionally takes the sensitivity parameter.
revDt
Expand Down

0 comments on commit a458406

Please sign in to comment.