[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[lmi-commits] [6392] Regularize idioms to distinguish new business from
From: |
Greg Chicares |
Subject: |
[lmi-commits] [6392] Regularize idioms to distinguish new business from inforce |
Date: |
Sat, 07 Nov 2015 13:41:33 +0000 |
Revision: 6392
http://svn.sv.gnu.org/viewvc/?view=rev&root=lmi&revision=6392
Author: chicares
Date: 2015-11-07 13:41:32 +0000 (Sat, 07 Nov 2015)
Log Message:
-----------
Regularize idioms to distinguish new business from inforce
Modified Paths:
--------------
lmi/trunk/gpt_input.cpp
lmi/trunk/illustrator.cpp
lmi/trunk/mec_input.cpp
Modified: lmi/trunk/gpt_input.cpp
===================================================================
--- lmi/trunk/gpt_input.cpp 2015-11-07 13:22:17 UTC (rev 6391)
+++ lmi/trunk/gpt_input.cpp 2015-11-07 13:41:32 UTC (rev 6392)
@@ -429,7 +429,7 @@
);
double maximum_1035 =
- InforceAsOfDate == EffectiveDate
+ EffectiveDate == InforceAsOfDate
? std::numeric_limits<double>::max()
: 0.0
;
@@ -451,7 +451,7 @@
bool non_mec = mce_no == InforceIsMec;
double maximum_7702A_csv_at_issue =
- InforceAsOfDate == EffectiveDate
+ EffectiveDate == InforceAsOfDate
? 0.0
: std::numeric_limits<double>::max()
;
Modified: lmi/trunk/illustrator.cpp
===================================================================
--- lmi/trunk/illustrator.cpp 2015-11-07 13:22:17 UTC (rev 6391)
+++ lmi/trunk/illustrator.cpp 2015-11-07 13:41:32 UTC (rev 6392)
@@ -292,7 +292,7 @@
};
static std::size_t const n = lmi_array_size(fields);
- if(case_default["InforceAsOfDate"] != case_default["EffectiveDate"])
+ if(case_default["EffectiveDate"] != case_default["InforceAsOfDate"])
{
fatal_error() << "Group quotes allowed for new business only." <<
LMI_FLUSH;
}
Modified: lmi/trunk/mec_input.cpp
===================================================================
--- lmi/trunk/mec_input.cpp 2015-11-07 13:22:17 UTC (rev 6391)
+++ lmi/trunk/mec_input.cpp 2015-11-07 13:41:32 UTC (rev 6392)
@@ -396,7 +396,7 @@
);
double maximum_1035 =
- InforceAsOfDate == EffectiveDate
+ EffectiveDate == InforceAsOfDate
? std::numeric_limits<double>::max()
: 0.0
;
@@ -418,7 +418,7 @@
bool non_mec = mce_no == InforceIsMec;
double maximum_7702A_csv_at_issue =
- InforceAsOfDate == EffectiveDate
+ EffectiveDate == InforceAsOfDate
? 0.0
: std::numeric_limits<double>::max()
;
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [lmi-commits] [6392] Regularize idioms to distinguish new business from inforce,
Greg Chicares <=