rec ok with negatives/positives
Some checks failed
cicd / ci (push) Failing after 21s

This commit is contained in:
Bel LaPointe
2025-05-23 21:59:19 -06:00
parent 4997264f4c
commit 9cf8cb0736

View File

@@ -248,7 +248,7 @@ func Main() {
inDay := func(date string, transaction bank.Transaction) bool {
return slices.ContainsFunc(byDate[date], func(d ledger.Delta) bool {
return d.Value == transaction.Amount
return d.Value == transaction.Amount || -1.0*d.Value == transaction.Amount
})
}