[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[lmi-commits] [lmi] master 3ee0c70 15/24: Make two member functions iden
From: |
Greg Chicares |
Subject: |
[lmi-commits] [lmi] master 3ee0c70 15/24: Make two member functions identical |
Date: |
Wed, 30 Dec 2020 18:47:00 -0500 (EST) |
branch: master
commit 3ee0c70494edddbfe9fc6adf7bbcc241e54a90d3
Author: Gregory W. Chicares <gchicares@sbcglobal.net>
Commit: Gregory W. Chicares <gchicares@sbcglobal.net>
Make two member functions identical
---
ihs_basicval.cpp | 16 ++++++++--------
1 file changed, 8 insertions(+), 8 deletions(-)
diff --git a/ihs_basicval.cpp b/ihs_basicval.cpp
index 6b0eb11..1ec3048 100644
--- a/ihs_basicval.cpp
+++ b/ihs_basicval.cpp
@@ -74,6 +74,7 @@ BasicValues::BasicValues(Input const& input)
,StateOfJurisdiction_{mce_s_CT}
,StateOfDomicile_ {mce_s_CT}
,PremiumTaxState_ {mce_s_CT}
+ ,InitialTargetPremium{0.0}
{
Init();
}
@@ -251,14 +252,6 @@ void BasicValues::Init()
PremiumTax_ .reset(new premium_tax (PremiumTaxState_,
StateOfDomicile_, yare_input_.AmortizePremiumLoad, database(),
*StratifiedCharges_));
Loads_ .reset(new Loads (*this));
- // The target premium can't be ascertained yet if specamt is
- // determined by a strategy. This data member is used only by
- // Init7702(), and is meaningful only when that function is called
- // by GPTServerInit(); the value assigned here is overridden by a
- // downstream call to Irc7702::Initialize7702(). TAXATION !! So
- // eliminate the member when it becomes unnecessary.
- InitialTargetPremium = 0.0;
-
SetMaxSurvivalDur();
set_partial_mortality();
@@ -575,6 +568,13 @@ void BasicValues::Init7702()
double local_adb_limit = database().query<bool>(DB_AdbIsQAB) ? AdbLimit :
0.0;
+ // BasicValues::InitialTargetPremium is used only here. For
+ // standalone GPT calculations, it's an input field. For
+ // illustrations, it's simply initialized to zero: the target
+ // premium can't be ascertained yet if the specified amount is
+ // to be determined by a strategy, but a downstream call to
+ // Irc7702::Initialize7702() takes care of that.
+
Irc7702_.reset
(new Irc7702
(yare_input_.DefinitionOfLifeInsurance
- [lmi-commits] [lmi] master ac2e25b 03/24: Expunge an unwanted exception class, (continued)
- [lmi-commits] [lmi] master ac2e25b 03/24: Expunge an unwanted exception class, Greg Chicares, 2020/12/30
- [lmi-commits] [lmi] master f2efed6 01/24: Guard against accidental Ctrl-D, Greg Chicares, 2020/12/30
- [lmi-commits] [lmi] master bf59b33 06/24: Resolve or demote some more marked defects [326], Greg Chicares, 2020/12/30
- [lmi-commits] [lmi] master 30412af 04/24: Report a range error when a range error is caught [336], Greg Chicares, 2020/12/30
- [lmi-commits] [lmi] master e7c9da0 08/24: Prepare to move a block of code, Greg Chicares, 2020/12/30
- [lmi-commits] [lmi] master 55a3eb0 12/24: Note an apparent defect [327], Greg Chicares, 2020/12/30
- [lmi-commits] [lmi] master 53e98ab 13/24: Fix defect introduced 20100723T2339Z: wrong jurisdiction [326], Greg Chicares, 2020/12/30
- [lmi-commits] [lmi] master e4c790a 18/24: Expunge a defect marker [324], Greg Chicares, 2020/12/30
- [lmi-commits] [lmi] master d89a676 22/24: Refactor to avoid a header-only implementation, Greg Chicares, 2020/12/30
- [lmi-commits] [lmi] master 3121c90 23/24: Conditionally use H.R. 6800's 7702 transitional rates, Greg Chicares, 2020/12/30
- [lmi-commits] [lmi] master 3ee0c70 15/24: Make two member functions identical,
Greg Chicares <=
- [lmi-commits] [lmi] master d7f3337 09/24: Move a block of code as just announced, Greg Chicares, 2020/12/30
- [lmi-commits] [lmi] master d4e0291 10/24: Refactor, Greg Chicares, 2020/12/30
- [lmi-commits] [lmi] master 71d750e 14/24: Make two member functions almost identical, Greg Chicares, 2020/12/30
- [lmi-commits] [lmi] master a473a82 17/24: Expunge a duplicative member function [325], Greg Chicares, 2020/12/30
- [lmi-commits] [lmi] master 2bc3d08 02/24: Move an enum, Greg Chicares, 2020/12/30
- [lmi-commits] [lmi] master b3cbe37 11/24: Move another block of code, Greg Chicares, 2020/12/30
- [lmi-commits] [lmi] master 9180696 16/24: Change a member's type-specifier, Greg Chicares, 2020/12/30
- [lmi-commits] [lmi] master 3ee62a7 19/24: Read product data files earlier, Greg Chicares, 2020/12/30
- [lmi-commits] [lmi] master 7930f69 20/24: Set 7702 and 7702A interest rates OAOO, Greg Chicares, 2020/12/30
- [lmi-commits] [lmi] master d6701e8 21/24: Split a unit-test TU in twain, Greg Chicares, 2020/12/30