lmi-commits
[Top][All Lists]
Advanced

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

[lmi-commits] [lmi] master 8b21622 05/10: Conditionalize sepacct load co


From: Greg Chicares
Subject: [lmi-commits] [lmi] master 8b21622 05/10: Conditionalize sepacct load consistently
Date: Thu, 11 Mar 2021 21:12:35 -0500 (EST)

branch: master
commit 8b21622d7db9c3450cb7022dcb5d9d0d2bf43625
Author: Gregory W. Chicares <gchicares@sbcglobal.net>
Commit: Gregory W. Chicares <gchicares@sbcglobal.net>

    Conditionalize sepacct load consistently
    
    This change happens to have no effect on regression testing, but only
    because DB_CurrAcctValLoad is nonzero only for sepacct-only products.
---
 i7702.cpp | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/i7702.cpp b/i7702.cpp
index 466a98b..a5e36ec 100644
--- a/i7702.cpp
+++ b/i7702.cpp
@@ -245,13 +245,13 @@ i7702::i7702
     // the issue date constitutes a short-term guarantee that must be
     // reflected in the 7702 interest rates (excluding the GLP rate).
 
-    // 7702 !! DB_CurrAcctValLoad is sepacct only
-    database.query_into(DB_CurrAcctValLoad, Dsep_);
     if
         (   database.query<bool>(DB_AllowSepAcct)
         && !database.query<bool>(DB_AllowGenAcct)
         )
         {
+        // 7702 !! DB_CurrAcctValLoad is sepacct only: change its name
+        database.query_into(DB_CurrAcctValLoad, Dsep_);
         Dsep_ += stratified.minimum_tiered_sepacct_load_for_7702();
         }
 



reply via email to

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