lmi-commits
[Top][All Lists]
Advanced

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

[lmi-commits] [lmi] master 7f3f9c8 1/6: Clarify


From: Greg Chicares
Subject: [lmi-commits] [lmi] master 7f3f9c8 1/6: Clarify
Date: Wed, 27 Oct 2021 18:22:21 -0400 (EDT)

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

    Clarify
---
 et_vector_test.cpp | 2 +-
 i7702_init.cpp     | 1 +
 2 files changed, 2 insertions(+), 1 deletion(-)

diff --git a/et_vector_test.cpp b/et_vector_test.cpp
index 48b6ff9..ea68f22 100644
--- a/et_vector_test.cpp
+++ b/et_vector_test.cpp
@@ -280,7 +280,7 @@ int test_main(int, char*[])
     std::vector<double> const r0 = {0.0, 1.5625, 6.25};
     LMI_TEST(r0 == v0);
 
-    assign(v0, sqrt(v0));
+    assign(v0, sqrt(v0)); // PETE's sqrt(), not std::sqrt()
     std::vector<double> const r1 = {0.0, 1.25, 2.5};
     LMI_TEST(r1 == v0);
 
diff --git a/i7702_init.cpp b/i7702_init.cpp
index b454775..a844886 100644
--- a/i7702_init.cpp
+++ b/i7702_init.cpp
@@ -153,6 +153,7 @@ i7702::i7702
         apply_unary(i_upper_12_over_12_from_i<double>(), Bgen_);
 
     std::vector<double> diff {};
+    // PETE's fabs(), not std::fabs():
     diff <<= fabs(Em_ - theoretical_naar_discount);
     minmax<double> const mm(diff);
     constexpr double tolerance {0.0000001};



reply via email to

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