lmi-commits
[Top][All Lists]
Advanced

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

[lmi-commits] [lmi] master b452c8b 2/5: Replace 7702 interest rates in M


From: Greg Chicares
Subject: [lmi-commits] [lmi] master b452c8b 2/5: Replace 7702 interest rates in MEC and GPT "servers"
Date: Mon, 15 Mar 2021 11:03:44 -0400 (EDT)

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

    Replace 7702 interest rates in MEC and GPT "servers"
    
    The affected code is used only for '.mec' input: '.gpt' input follows
    a different path, and there is no standalone server in production. It
    just so happens that no regressions are observed in system testing,
    but that's only because '.mec' testdecks use only two products whose
    7702 interest rates are dominated by the old statutory 4% rate.
---
 gpt_server.cpp | 8 ++++----
 mec_server.cpp | 8 ++++----
 2 files changed, 8 insertions(+), 8 deletions(-)

diff --git a/gpt_server.cpp b/gpt_server.cpp
index 1856bac..0570362 100644
--- a/gpt_server.cpp
+++ b/gpt_server.cpp
@@ -188,8 +188,8 @@ gpt_state test_one_days_gpt_transactions
     i7702 const i7702_(database, stratified);
     ULCommFns commfns
         (Mly7702qc
-        ,i7702_.net_glp()
-        ,i7702_.ig()
+        ,i7702_.ic_glp()
+        ,i7702_.ig_glp()
         ,mce_option1_for_7702
         ,mce_monthly
         );
@@ -435,8 +435,8 @@ gpt_state test_one_days_gpt_transactions
         {
         ofs
             <<               j  << '\t'
-            << value_cast<std::string>(i7702_.net_glp() [j]) << '\t'
-            << value_cast<std::string>(i7702_.gross() [j]) << '\t'
+            << value_cast<std::string>(i7702_.ic_glp() [j]) << '\t'
+            << value_cast<std::string>(i7702_.ig_glp() [j]) << '\t'
             << value_cast<std::string>(Mly7702qc      [j]) << '\t'
             << value_cast<std::string>(commfns.aD()   [j]) << '\t'
             << value_cast<std::string>(commfns.kC()   [j]) << '\t'
diff --git a/mec_server.cpp b/mec_server.cpp
index 74b6955..2990488 100644
--- a/mec_server.cpp
+++ b/mec_server.cpp
@@ -171,8 +171,8 @@ mec_state test_one_days_7702A_transactions
     i7702 const i7702_(database, stratified);
     ULCommFns commfns
         (Mly7702qc
-        ,i7702_.gross()
-        ,i7702_.ig()
+        ,i7702_.ic_usual()
+        ,i7702_.ig_usual()
         ,mce_option1_for_7702
         ,mce_monthly
         );
@@ -418,8 +418,8 @@ mec_state test_one_days_7702A_transactions
         {
         ofs
             <<               j  << '\t'
-            << value_cast<std::string>(i7702_.gross() [j]) << '\t'
-            << value_cast<std::string>(i7702_.ig()    [j]) << '\t'
+            << value_cast<std::string>(i7702_.ic_usual() [j]) << '\t'
+            << value_cast<std::string>(i7702_.ig_usual() [j]) << '\t'
             << value_cast<std::string>(Mly7702qc      [j]) << '\t'
             << value_cast<std::string>(commfns.aD()   [j]) << '\t'
             << value_cast<std::string>(commfns.kC()   [j]) << '\t'



reply via email to

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