[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[lmi-commits] [lmi] master 11c3b2d 07/13: Mark skipped initializations u
From: |
Greg Chicares |
Subject: |
[lmi-commits] [lmi] master 11c3b2d 07/13: Mark skipped initializations uniformly |
Date: |
Tue, 14 Apr 2020 12:07:01 -0400 (EDT) |
branch: master
commit 11c3b2d9c6fbab133d067b8c95d9897edb365c60
Author: Gregory W. Chicares <address@hidden>
Commit: Gregory W. Chicares <address@hidden>
Mark skipped initializations uniformly
All skipped initializations are marked "DYNAMIC"; those whose dynamicity
seems dubious are marked "DYNAMIC ?".
---
ledger_invariant_init.cpp | 36 ++++++++++++++++++------------------
1 file changed, 18 insertions(+), 18 deletions(-)
diff --git a/ledger_invariant_init.cpp b/ledger_invariant_init.cpp
index def1b35..34df7bf 100644
--- a/ledger_invariant_init.cpp
+++ b/ledger_invariant_init.cpp
@@ -53,10 +53,10 @@ void LedgerInvariant::Init(BasicValues const* b)
// BOY vectors.
-// TgtPrem =
-// GrossPmt =
-// EeGrossPmt =
-// ErGrossPmt =
+// TgtPrem = DYNAMIC ?
+// GrossPmt = DYNAMIC
+// EeGrossPmt = DYNAMIC
+// ErGrossPmt = DYNAMIC
// Certain data members, including but almost certainly not
// limited to these, should not be initialized to any non-zero
@@ -68,7 +68,7 @@ void LedgerInvariant::Init(BasicValues const* b)
// NewCashLoan = DYNAMIC
// Outlay = DYNAMIC
// GptForceout = DYNAMIC
-// NaarForceout = DYNAMIC
+// NaarForceout = DYNAMIC ?
// ModalMinimumPremium = DYNAMIC
// EeModalMinimumPremium = DYNAMIC
// ErModalMinimumPremium = DYNAMIC
@@ -128,18 +128,18 @@ void LedgerInvariant::Init(BasicValues const* b)
ChildRiderAmount = b->yare_input_.ChildRiderAmount;
SpouseRiderAmount = b->yare_input_.SpouseRiderAmount;
-// InitPrem = 0;
-// GuarPrem = 0;
-// InitSevenPayPrem =
+// InitPrem = DYNAMIC
+// GuarPrem = DYNAMIC
+// InitSevenPayPrem = DYNAMIC
// InitGSP = DYNAMIC
// InitGLP = DYNAMIC
-// InitTgtPrem =
-// ListBillPremium =
-// EeListBillPremium =
-// ErListBillPremium =
+// InitTgtPrem = DYNAMIC
+// ListBillPremium = DYNAMIC
+// EeListBillPremium = DYNAMIC
+// ErListBillPremium = DYNAMIC
// These must be set dynamically because they may be changed,
- // e.g. to respect guideline limits.
+ // e.g. to respect guideline limits. ?
// Dumpin = DYNAMIC
// External1035Amount = DYNAMIC
// Internal1035Amount = DYNAMIC
@@ -164,9 +164,9 @@ void LedgerInvariant::Init(BasicValues const* b)
GuarMaxMandE = guar_m_and_e_rate[0];
InitDacTaxRate =
b->Loads_->dac_tax_load()[b->yare_input_.InforceYear];
InitPremTaxRate = b->PremiumTax_->maximum_load_rate();
-// GenderDistinct = 0;
+// GenderDistinct = UNUSED ?
GenderBlended = b->yare_input_.BlendGender;
-// SmokerDistinct = 0;
+// SmokerDistinct = UNUSED ?
SmokerBlended = b->yare_input_.BlendSmoking;
SubstdTable = b->yare_input_.SubstandardTable;
@@ -206,9 +206,9 @@ void LedgerInvariant::Init(BasicValues const* b)
CustomFund = b->yare_input_.OverrideFundManagementFee;
// IsMec = DYNAMIC
-// InforceIsMec = DYNAMIC
-// InforceYear = DYNAMIC
-// InforceMonth = DYNAMIC
+// InforceIsMec = DYNAMIC ?
+// InforceYear = DYNAMIC ?
+// InforceMonth = DYNAMIC ?
// MecYear = DYNAMIC
// MecMonth = DYNAMIC
- [lmi-commits] [lmi] master updated (9537a20 -> 45cf6f4), Greg Chicares, 2020/04/14
- [lmi-commits] [lmi] master 521916f 06/13: Expunge a pointless comment, Greg Chicares, 2020/04/14
- [lmi-commits] [lmi] master b746578 02/13: Remove a defect marker [346], Greg Chicares, 2020/04/14
- [lmi-commits] [lmi] master 11c3b2d 07/13: Mark skipped initializations uniformly,
Greg Chicares <=
- [lmi-commits] [lmi] master 1492645 04/13: Declare two variables in dependency order, Greg Chicares, 2020/04/14
- [lmi-commits] [lmi] master 25cc457 05/13: Mark formerly-missing variables as dynamically-assigned, Greg Chicares, 2020/04/14
- [lmi-commits] [lmi] master 278dab3 10/13: Explain some curious comments, Greg Chicares, 2020/04/14
- [lmi-commits] [lmi] master 180c84e 03/13: Initialize ledger members in declaration order, Greg Chicares, 2020/04/14
- [lmi-commits] [lmi] master 517a8fe 01/13: Remove a defect marker: refractory compositing issue [347], Greg Chicares, 2020/04/14
- [lmi-commits] [lmi] master e09ae5e 09/13: Improve documentation, Greg Chicares, 2020/04/14
- [lmi-commits] [lmi] master 664a0df 11/13: Expunge unused ledger vector 'TgtPrem', Greg Chicares, 2020/04/14
- [lmi-commits] [lmi] master 45cf6f4 13/13: Move initialization of some ledger members, Greg Chicares, 2020/04/14
- [lmi-commits] [lmi] master 1611b81 12/13: Expunge several unused ledger scalars, Greg Chicares, 2020/04/14
- [lmi-commits] [lmi] master e653634 08/13: Regularize whitespace, Greg Chicares, 2020/04/14