[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[lmi-commits] [lmi] master 11041f1 06/10: Simplify an idiosyncratic gnar
From: |
Greg Chicares |
Subject: |
[lmi-commits] [lmi] master 11041f1 06/10: Simplify an idiosyncratic gnarl |
Date: |
Thu, 11 Mar 2021 21:12:35 -0500 (EST) |
branch: master
commit 11041f142aa8d9a8e82c3f6f428ab27df2f6fea2
Author: Gregory W. Chicares <gchicares@sbcglobal.net>
Commit: Gregory W. Chicares <gchicares@sbcglobal.net>
Simplify an idiosyncratic gnarl
This commit makes the calculation wrong, although not for any product
lmi currently supports. It will be replaced by a correct calculation
soon.
---
i7702.cpp | 15 ++++++---------
1 file changed, 6 insertions(+), 9 deletions(-)
diff --git a/i7702.cpp b/i7702.cpp
index a5e36ec..0e5f47b 100644
--- a/i7702.cpp
+++ b/i7702.cpp
@@ -245,15 +245,12 @@ i7702::i7702
// the issue date constitutes a short-term guarantee that must be
// reflected in the 7702 interest rates (excluding the GLP rate).
- if
- ( database.query<bool>(DB_AllowSepAcct)
- && !database.query<bool>(DB_AllowGenAcct)
- )
- {
- // 7702 !! DB_CurrAcctValLoad is sepacct only: change its name
- database.query_into(DB_CurrAcctValLoad, Dsep_);
- Dsep_ += stratified.minimum_tiered_sepacct_load_for_7702();
- }
+ // It just so happens that these loads are zero for all products
+ // lmi supports, except for separate-account-only products. The
+ // logic will soon be reworked to make that irrelevant.
+ // 7702 !! DB_CurrAcctValLoad is sepacct only: change its name
+ database.query_into(DB_CurrAcctValLoad, Dsep_);
+ Dsep_ += stratified.minimum_tiered_sepacct_load_for_7702();
gross_.assign(database.length(), 0.0);
assign
- [lmi-commits] [lmi] master updated (986ba37 -> 5d0c118), Greg Chicares, 2021/03/11
- [lmi-commits] [lmi] master eb0729d 01/10: Refine documentation, Greg Chicares, 2021/03/11
- [lmi-commits] [lmi] master 8b21622 05/10: Conditionalize sepacct load consistently, Greg Chicares, 2021/03/11
- [lmi-commits] [lmi] master 7b84df9 08/10: Move a commentary paragraph, Greg Chicares, 2021/03/11
- [lmi-commits] [lmi] master 55b91b6 09/10: Discuss monthly vs. annual rates, for ig especially, Greg Chicares, 2021/03/11
- [lmi-commits] [lmi] master 469b63a 02/10: Expunge needless data members, Greg Chicares, 2021/03/11
- [lmi-commits] [lmi] master 3b39e4e 03/10: Add new i7702 members, Greg Chicares, 2021/03/11
- [lmi-commits] [lmi] master 11041f1 06/10: Simplify an idiosyncratic gnarl,
Greg Chicares <=
- [lmi-commits] [lmi] master 5d0c118 10/10: Refactor, Greg Chicares, 2021/03/11
- [lmi-commits] [lmi] master e9a5eb0 04/10: Replace some local variables with members, Greg Chicares, 2021/03/11
- [lmi-commits] [lmi] master 0d51b6d 07/10: Refactor, Greg Chicares, 2021/03/11