[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[lmi-commits] [lmi] master d8bb7cb4 5/6: Repeat less
From: |
Greg Chicares |
Subject: |
[lmi-commits] [lmi] master d8bb7cb4 5/6: Repeat less |
Date: |
Sat, 9 Jul 2022 18:28:39 -0400 (EDT) |
branch: master
commit d8bb7cb46df7e6e6da03611243375bc8e62dc2cf
Author: Gregory W. Chicares <gchicares@sbcglobal.net>
Commit: Gregory W. Chicares <gchicares@sbcglobal.net>
Repeat less
---
gpt_cf_triad_test.cpp | 49 ++++++++++++++++---------------------------------
1 file changed, 16 insertions(+), 33 deletions(-)
diff --git a/gpt_cf_triad_test.cpp b/gpt_cf_triad_test.cpp
index 0e536698..04de4aa3 100644
--- a/gpt_cf_triad_test.cpp
+++ b/gpt_cf_triad_test.cpp
@@ -210,41 +210,24 @@ class gpt_cf_triad_test
static void mete_instantiate_old();
static void mete_premiums_old();
- static std::vector<double> q_m_ ;
- static std::vector<double> glp_ic_ ;
- static std::vector<double> glp_ig_ ;
- static std::vector<double> gsp_ic_ ;
- static std::vector<double> gsp_ig_ ;
- static std::vector<double> prem_load_target_ ;
- static std::vector<double> prem_load_excess_ ;
- static std::vector<double> policy_fee_monthly_ ;
- static std::vector<double> policy_fee_annual_ ;
- static std::vector<double> specamt_load_monthly_ ;
- static std::vector<double> qab_gio_rate_ ;
- static std::vector<double> qab_adb_rate_ ;
- static std::vector<double> qab_term_rate_ ;
- static std::vector<double> qab_spouse_rate_ ;
- static std::vector<double> qab_child_rate_ ;
- static std::vector<double> qab_waiver_rate_ ;
+ static inline std::vector<double> q_m_ {};
+ static inline std::vector<double> glp_ic_ {};
+ static inline std::vector<double> glp_ig_ {};
+ static inline std::vector<double> gsp_ic_ {};
+ static inline std::vector<double> gsp_ig_ {};
+ static inline std::vector<double> prem_load_target_ {};
+ static inline std::vector<double> prem_load_excess_ {};
+ static inline std::vector<double> policy_fee_monthly_ {};
+ static inline std::vector<double> policy_fee_annual_ {};
+ static inline std::vector<double> specamt_load_monthly_ {};
+ static inline std::vector<double> qab_gio_rate_ {};
+ static inline std::vector<double> qab_adb_rate_ {};
+ static inline std::vector<double> qab_term_rate_ {};
+ static inline std::vector<double> qab_spouse_rate_ {};
+ static inline std::vector<double> qab_child_rate_ {};
+ static inline std::vector<double> qab_waiver_rate_ {};
};
-std::vector<double> gpt_cf_triad_test::q_m_ {};
-std::vector<double> gpt_cf_triad_test::glp_ic_ {};
-std::vector<double> gpt_cf_triad_test::glp_ig_ {};
-std::vector<double> gpt_cf_triad_test::gsp_ic_ {};
-std::vector<double> gpt_cf_triad_test::gsp_ig_ {};
-std::vector<double> gpt_cf_triad_test::prem_load_target_ {};
-std::vector<double> gpt_cf_triad_test::prem_load_excess_ {};
-std::vector<double> gpt_cf_triad_test::policy_fee_monthly_ {};
-std::vector<double> gpt_cf_triad_test::policy_fee_annual_ {};
-std::vector<double> gpt_cf_triad_test::specamt_load_monthly_ {};
-std::vector<double> gpt_cf_triad_test::qab_gio_rate_ {};
-std::vector<double> gpt_cf_triad_test::qab_adb_rate_ {};
-std::vector<double> gpt_cf_triad_test::qab_term_rate_ {};
-std::vector<double> gpt_cf_triad_test::qab_spouse_rate_ {};
-std::vector<double> gpt_cf_triad_test::qab_child_rate_ {};
-std::vector<double> gpt_cf_triad_test::qab_waiver_rate_ {};
-
/// Initialize GPT vector parameters.
///
/// Loads and charges are initialized with decimal-power multiples of
- [lmi-commits] [lmi] master updated (68095897 -> 931cce6f), Greg Chicares, 2022/07/09
- [lmi-commits] [lmi] master 8b387bdc 1/6: Add "[[noreturn]]" in a few places, Greg Chicares, 2022/07/09
- [lmi-commits] [lmi] master 9b175313 2/6: Enable '-Wconditional-uninitialized' for clang, Greg Chicares, 2022/07/09
- [lmi-commits] [lmi] master 931cce6f 6/6: Explain why several clang warnings are disabled, Greg Chicares, 2022/07/09
- [lmi-commits] [lmi] master d8bb7cb4 5/6: Repeat less,
Greg Chicares <=
- [lmi-commits] [lmi] master 6f740381 3/6: Explain why '-Wfloat-conversion' is disabled for clang, Greg Chicares, 2022/07/09
- [lmi-commits] [lmi] master f7f9c1e7 4/6: Enable '-Wfloat-conversion' for clang: C only, Greg Chicares, 2022/07/09