[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[lmi-commits] [lmi] valyuta/004 80a18db 14/17: Make two member functions
From: |
Greg Chicares |
Subject: |
[lmi-commits] [lmi] valyuta/004 80a18db 14/17: Make two member functions identical |
Date: |
Thu, 24 Dec 2020 10:23:53 -0500 (EST) |
branch: valyuta/004
commit 80a18dbfbd708a1e2d1efbd942670bb741fc60c6
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 8b21e6c..857a638 100644
--- a/ihs_basicval.cpp
+++ b/ihs_basicval.cpp
@@ -80,6 +80,7 @@ BasicValues::BasicValues(Input const& input)
,StateOfJurisdiction_{mce_s_CT}
,StateOfDomicile_ {mce_s_CT}
,PremiumTaxState_ {mce_s_CT}
+ ,InitialTargetPremium{C0}
{
Init();
}
@@ -261,14 +262,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 = C0;
-
SetMaxSurvivalDur();
set_partial_mortality();
@@ -585,6 +578,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] valyuta/004 3c157f7 03/17: Report a range error when a range error is caught [336], (continued)
- [lmi-commits] [lmi] valyuta/004 3c157f7 03/17: Report a range error when a range error is caught [336], Greg Chicares, 2020/12/24
- [lmi-commits] [lmi] valyuta/004 2504286 04/17: Resolve some marked defects [333], Greg Chicares, 2020/12/24
- [lmi-commits] [lmi] valyuta/004 eeacb20 07/17: Prepare to move a block of code, Greg Chicares, 2020/12/24
- [lmi-commits] [lmi] valyuta/004 f16fd3a 02/17: Expunge an unwanted exception class, Greg Chicares, 2020/12/24
- [lmi-commits] [lmi] valyuta/004 5ceb54d 01/17: Move an enum, Greg Chicares, 2020/12/24
- [lmi-commits] [lmi] valyuta/004 5ac107f 09/17: Refactor, Greg Chicares, 2020/12/24
- [lmi-commits] [lmi] valyuta/004 c9b4787 13/17: Make two member functions almost identical, Greg Chicares, 2020/12/24
- [lmi-commits] [lmi] valyuta/004 cf62b44 17/17: Record timings, Greg Chicares, 2020/12/24
- [lmi-commits] [lmi] valyuta/004 9d9c2b7 06/17: Assert "length" is same in two classes, Greg Chicares, 2020/12/24
- [lmi-commits] [lmi] valyuta/004 67f1c54 08/17: Move a block of code as just announced, Greg Chicares, 2020/12/24
- [lmi-commits] [lmi] valyuta/004 80a18db 14/17: Make two member functions identical,
Greg Chicares <=
- [lmi-commits] [lmi] valyuta/004 89ea7c8 15/17: Change a member's datatype, Greg Chicares, 2020/12/24
- [lmi-commits] [lmi] valyuta/004 c6f6f55 16/17: Expunge a duplicative member function [325], Greg Chicares, 2020/12/24
- [lmi-commits] [lmi] valyuta/004 17275df 05/17: Resolve some more marked defects [326], Greg Chicares, 2020/12/24
- [lmi-commits] [lmi] valyuta/004 72dcc19 11/17: Note an apparent defect [327], Greg Chicares, 2020/12/24
- [lmi-commits] [lmi] valyuta/004 4a21c32 10/17: Move another block of code, Greg Chicares, 2020/12/24
- [lmi-commits] [lmi] valyuta/004 47b096d 12/17: Fix defect introduced 20100723T2339Z: wrong jurisdiction [326], Greg Chicares, 2020/12/24