[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'
- [lmi-commits] [lmi] master 671e3f2 05/25: Almost move two blocks of code, (continued)
- [lmi-commits] [lmi] master 671e3f2 05/25: Almost move two blocks of code, Greg Chicares, 2021/02/24
- [lmi-commits] [lmi] master 3ba52f9 01/25: Add a '7702 !!' marker for new 7702 issues, Greg Chicares, 2021/02/24
- [lmi-commits] [lmi] master 447290e 04/25: Move an assertion; rewrite and duplicate its comment, Greg Chicares, 2021/02/24
- [lmi-commits] [lmi] master 5dbf2e3 06/25: Validate class i7702, Greg Chicares, 2021/02/24
- [lmi-commits] [lmi] master 2f74b41 25/25: Improve encapsulation of 7702 "spread", Greg Chicares, 2021/02/24
- [lmi-commits] [lmi] master 3a06237 08/25: Deduplicate, Greg Chicares, 2021/02/24
- [lmi-commits] [lmi] master 3c341a6 10/25: Remove more dead code, Greg Chicares, 2021/02/24
- [lmi-commits] [lmi] master e6f9397 14/25: Obtain DCV interest rate from i7702 object, Greg Chicares, 2021/02/24
- [lmi-commits] [lmi] master d17fda2 20/25: Bring bogosity into focus before eradicating it, Greg Chicares, 2021/02/24
- [lmi-commits] [lmi] master bbe2802 21/25: Reduce bogosity ever so slightly, Greg Chicares, 2021/02/24
- [lmi-commits] [lmi] master 8c27092 24/25: Use correct interest rates for '.mec' input,
Greg Chicares <=
- [lmi-commits] [lmi] master 7cf8204 02/25: Add a 7702 interest-rate class, Greg Chicares, 2021/02/24
- [lmi-commits] [lmi] master ef22f46 07/25: Deduplicate [295], Greg Chicares, 2021/02/24
- [lmi-commits] [lmi] master 6bde573 12/25: Make certain shared_ptr members const, Greg Chicares, 2021/02/24
- [lmi-commits] [lmi] master ee8667d 13/25: Turn a local variable into a member, Greg Chicares, 2021/02/24
- [lmi-commits] [lmi] master 9f5c39d 15/25: Expunge disused accessors, Greg Chicares, 2021/02/24
- [lmi-commits] [lmi] master 8db602c 16/25: Turn several members into local variables, Greg Chicares, 2021/02/24
- [lmi-commits] [lmi] master 87af00c 19/25: Support a further "refactoring", Greg Chicares, 2021/02/24
- [lmi-commits] [lmi] master ad762d4 18/25: Remove dead code, Greg Chicares, 2021/02/24
- [lmi-commits] [lmi] master ec7093b 22/25: Eradicate global iglp() and igsp(), Greg Chicares, 2021/02/24
- [lmi-commits] [lmi] master bf5f2ba 23/25: Eradicate bogosity, Greg Chicares, 2021/02/24