lmi-commits
[Top][All Lists]
Advanced

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

[lmi-commits] [lmi] master 2d10858 06/14: Use DB_AnnIntRateGspDelta inst


From: Greg Chicares
Subject: [lmi-commits] [lmi] master 2d10858 06/14: Use DB_AnnIntRateGspDelta instead of hard-coding two percent
Date: Thu, 1 Apr 2021 18:15:17 -0400 (EDT)

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

    Use DB_AnnIntRateGspDelta instead of hard-coding two percent
    
    As H.R. 6800 recently demonstrated, a constant interest rate embedded
    in a statute may change. The H.R. 6800 work would have been much easier
    if the rate represented by DB_AnnIntRate7702 had always been a parameter
    rather than a manifest constant four percent.
---
 i7702_init.cpp | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/i7702_init.cpp b/i7702_init.cpp
index 857bf7a..19061b2 100644
--- a/i7702_init.cpp
+++ b/i7702_init.cpp
@@ -77,9 +77,8 @@ i7702::i7702
         use_vlr_ = zero;
         }
 
-    // 7702 !! Alternatively, specify A0_ and delta, then calculate A1_?
     A0_ = database.query<double>(DB_AnnIntRate7702);
-    A1_ = 0.02 + A0_;
+    A1_ = A0_ + database.query<double>(DB_AnnIntRateGspDelta);
 
     database.query_into(DB_GuarInt, Bgen_);
 



reply via email to

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