[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[lmi-commits] [lmi] master e6f9397 14/25: Obtain DCV interest rate from
From: |
Greg Chicares |
Subject: |
[lmi-commits] [lmi] master e6f9397 14/25: Obtain DCV interest rate from i7702 object |
Date: |
Wed, 24 Feb 2021 19:00:53 -0500 (EST) |
branch: master
commit e6f939717767f2166b0cb69f94952cc43d7a8d77
Author: Gregory W. Chicares <gchicares@sbcglobal.net>
Commit: Gregory W. Chicares <gchicares@sbcglobal.net>
Obtain DCV interest rate from i7702 object
---
ihs_acctval.cpp | 6 +++++-
1 file changed, 5 insertions(+), 1 deletion(-)
diff --git a/ihs_acctval.cpp b/ihs_acctval.cpp
index 64f0f2e..f613908 100644
--- a/ihs_acctval.cpp
+++ b/ihs_acctval.cpp
@@ -34,6 +34,7 @@
#include "ihs_irc7702a.hpp"
#include "input.hpp" // consummate()
#include "interest_rates.hpp"
+#include "irc7702_interest.hpp" // class i7702
#include "ledger.hpp"
#include "ledger_invariant.hpp"
#include "ledger_variant.hpp"
@@ -1321,7 +1322,10 @@ void AccountValue::SetAnnualInvariants()
;
}
- YearsDcvIntRate = GetMly7702iGlp()[Year];
+ // 7702 !! This is clearly wrong. This rate is net of certain
+ // asset-based charges, but those charges are explicitly
+ // deducted from DCV, so they must be ignored here.
+ YearsDcvIntRate = i7702_->net_glp()[Year];
YearsHoneymoonValueRate = InterestRates_->HoneymoonValueRate
(GenBasis_
,mce_monthly_rate
- [lmi-commits] [lmi] master updated (a62fbec -> 2f74b41), Greg Chicares, 2021/02/24
- [lmi-commits] [lmi] master 04484e6 03/25: Remove a duplicative defect marker [300], Greg Chicares, 2021/02/24
- [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 <=
- [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, 2021/02/24
- [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