[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[lmi-commits] [5181] Change order of a free function's arguments
From: |
Greg Chicares |
Subject: |
[lmi-commits] [5181] Change order of a free function's arguments |
Date: |
Fri, 27 May 2011 22:17:22 +0000 |
Revision: 5181
http://svn.sv.gnu.org/viewvc/?view=rev&root=lmi&revision=5181
Author: chicares
Date: 2011-05-27 22:17:21 +0000 (Fri, 27 May 2011)
Log Message:
-----------
Change order of a free function's arguments
Modified Paths:
--------------
lmi/trunk/basic_values.hpp
lmi/trunk/ihs_basicval.cpp
lmi/trunk/mec_server.cpp
Modified: lmi/trunk/basic_values.hpp
===================================================================
--- lmi/trunk/basic_values.hpp 2011-05-23 14:54:30 UTC (rev 5180)
+++ lmi/trunk/basic_values.hpp 2011-05-27 22:17:21 UTC (rev 5181)
@@ -539,11 +539,11 @@
);
double lowest_premium_tax_load
- (product_database const& db
- ,stratified_charges const& stratified
- ,mcenum_state premium_tax_state
+ (mcenum_state premium_tax_state
,mcenum_state state_of_domicile
,bool amortize_premium_load
+ ,product_database const& db
+ ,stratified_charges const& stratified
);
// TODO ?? Use a configuration file instead. These deprecated
Modified: lmi/trunk/ihs_basicval.cpp
===================================================================
--- lmi/trunk/ihs_basicval.cpp 2011-05-23 14:54:30 UTC (rev 5180)
+++ lmi/trunk/ihs_basicval.cpp 2011-05-27 22:17:21 UTC (rev 5181)
@@ -830,11 +830,11 @@
);
LowestPremiumTaxLoad_ = lowest_premium_tax_load
- (*Database_
- ,*StratifiedCharges_
- ,GetPremiumTaxState()
+ (GetPremiumTaxState()
,GetStateOfDomicile()
,yare_input_.AmortizePremiumLoad
+ ,*Database_
+ ,*StratifiedCharges_
);
// TODO ?? It would be better not to constrain so many things
@@ -899,11 +899,11 @@
/// Lowest premium-tax load, for 7702 and 7702A purposes.
double lowest_premium_tax_load
- (product_database const& db
- ,stratified_charges const& stratified
- ,mcenum_state premium_tax_state
+ (mcenum_state premium_tax_state
,mcenum_state state_of_domicile
,bool amortize_premium_load
+ ,product_database const& db
+ ,stratified_charges const& stratified
)
{
// TRICKY !! Here, we use 'DB_PremTaxLoad', not 'DB_PremTaxRate',
Modified: lmi/trunk/mec_server.cpp
===================================================================
--- lmi/trunk/mec_server.cpp 2011-05-23 14:54:30 UTC (rev 5180)
+++ lmi/trunk/mec_server.cpp 2011-05-27 22:17:21 UTC (rev 5181)
@@ -304,11 +304,11 @@
}
double const premium_tax_load = lowest_premium_tax_load
- (database
+ (PremiumTaxState
+ ,mc_state_from_string(product_filenames.datum("InsCoDomicile"))
+ ,false // Assume load is not amortized.
+ ,database
,stratified
- ,PremiumTaxState
- ,mc_state_from_string(product_filenames.datum("InsCoDomicile"))
- ,false
);
std::vector<double> target_sales_load ;
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [lmi-commits] [5181] Change order of a free function's arguments,
Greg Chicares <=