lmi-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[lmi-commits] [lmi] master 43ca9fe 1/5: Test a simplified calculation of


From: Greg Chicares
Subject: [lmi-commits] [lmi] master 43ca9fe 1/5: Test a simplified calculation of DCV monthly q
Date: Thu, 4 Feb 2021 20:45:15 -0500 (EST)

branch: master
commit 43ca9fe630f0d208f178722a97db5132ec4f6a57
Author: Gregory W. Chicares <gchicares@sbcglobal.net>
Commit: Gregory W. Chicares <gchicares@sbcglobal.net>

    Test a simplified calculation of DCV monthly q
    
    Foreshadowed by commit 0d94134249c.
---
 ihs_basicval.cpp | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/ihs_basicval.cpp b/ihs_basicval.cpp
index 8f3835a..f759ae4 100644
--- a/ihs_basicval.cpp
+++ b/ihs_basicval.cpp
@@ -388,6 +388,10 @@ void BasicValues::Init7702()
         ,MlyDcvqc.begin()
         ,round_coi_rate()
         );
+    // Temporary test scaffolding:
+    std::vector<double> MlyDcvqc2;
+    MlyDcvqc2 = round_coi_rate()(Mly7702qc);
+    LMI_ASSERT(std::operator==(MlyDcvqc2, MlyDcvqc));
 
     // Monthly guar net int for 7702, with 4 or 6% min, is
     //   greater of {4%, 6%} and annual guar int rate



reply via email to

[Prev in Thread] Current Thread [Next in Thread]