lmi-commits
[Top][All Lists]
Advanced

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

[lmi-commits] [lmi] master 8c27092 24/25: Use correct interest rates for


From: Greg Chicares
Subject: [lmi-commits] [lmi] master 8c27092 24/25: Use correct interest rates for '.mec' input
Date: Wed, 24 Feb 2021 19:00:55 -0500 (EST)

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

    Use correct interest rates for '.mec' input
    
    This correction clearly changes the behavior, but not, as it happens,
    for the few and limited '.mec' files tested.
---
 gpt_server.cpp | 2 +-
 mec_server.cpp | 6 +++---
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/gpt_server.cpp b/gpt_server.cpp
index dd1b5ad..c061750 100644
--- a/gpt_server.cpp
+++ b/gpt_server.cpp
@@ -189,7 +189,7 @@ gpt_state test_one_days_gpt_transactions
     ULCommFns commfns
         (Mly7702qc
         ,i7702_.net_glp()
-        ,i7702_.gross()   // 7702 !! should be ig()
+        ,i7702_.ig()
         ,mce_option1_for_7702
         ,mce_monthly
         );
diff --git a/mec_server.cpp b/mec_server.cpp
index 112c82d..e156998 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_.net_glp() // 7702 !! should be gross()
-        ,i7702_.gross()   // 7702 !! should be ig()
+        ,i7702_.gross()
+        ,i7702_.ig()
         ,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_.net_glp() [j]) << '\t'
             << value_cast<std::string>(i7702_.gross() [j]) << '\t'
+            << value_cast<std::string>(i7702_.ig()    [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]