fix a haddock failure reported by hydra

This commit is contained in:
Simon Michael 2013-06-01 13:55:34 -07:00
parent 18c6ff2a04
commit 95f909543a

View File

@ -391,8 +391,9 @@ checkBalanceAssertion :: ([String],MixedAmount) -> [Posting] -> ([String],MixedA
checkBalanceAssertion (errs,bal) ps checkBalanceAssertion (errs,bal) ps
| null ps = (errs,bal) | null ps = (errs,bal)
| isNothing assertion = (errs,bal) | isNothing assertion = (errs,bal)
-- | bal' /= assertedbal -- MixedAmount's Eq instance currently gets confused by different precisions |
| not $ isReallyZeroMixedAmount (bal' - assertedbal) -- bal' /= assertedbal -- MixedAmount's Eq instance currently gets confused by different precisions
not $ isReallyZeroMixedAmount (bal' - assertedbal)
= (errs++[err], bal') = (errs++[err], bal')
| otherwise = (errs,bal') | otherwise = (errs,bal')
where where