lmi-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[lmi-commits] [lmi] master 1c6877f 3/3: Fix defect introduced 20190602T2


From: Greg Chicares
Subject: [lmi-commits] [lmi] master 1c6877f 3/3: Fix defect introduced 20190602T2100Z: no composite supplemental report
Date: Thu, 1 Aug 2019 20:37:22 -0400 (EDT)

branch: master
commit 1c6877f5d01bbca00d64cba2a9270b5be4d74ebf
Author: Gregory W. Chicares <address@hidden>
Commit: Gregory W. Chicares <address@hidden>

    Fix defect introduced 20190602T2100Z: no composite supplemental report
    
    For the composite, 'SupplementalReport' was initialized to false, then
    logically ANDed with each cell's 'SupplementalReport' value. However,
    false AND anything is false, so the composite could never have a
    supplemental report.
---
 ledger_invariant.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/ledger_invariant.cpp b/ledger_invariant.cpp
index 642fd59..f3a65a6 100644
--- a/ledger_invariant.cpp
+++ b/ledger_invariant.cpp
@@ -447,7 +447,7 @@ void LedgerInvariant::Init()
     Has1035ExchCharge   = false;
 
     WriteTsvFile        = false;
-    SupplementalReport  = false;
+    SupplementalReport  = true;
     AllowGroupQuote     = true;
 
     irr_precision_      = 0;



reply via email to

[Prev in Thread] Current Thread [Next in Thread]