[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};
- [lmi-commits] [lmi] master updated (f43af72 -> bc7259f), Greg Chicares, 2021/10/27
- [lmi-commits] [lmi] master e1482a3 5/6: Add unit tests for stifle_unused_warning(), Greg Chicares, 2021/10/27
- [lmi-commits] [lmi] master bc7259f 6/6: Make stifle_unused_warning() constexpr, Greg Chicares, 2021/10/27
- [lmi-commits] [lmi] master be063aa 4/6: Merge "stifle" function templates, Greg Chicares, 2021/10/27
- [lmi-commits] [lmi] master 7f3f9c8 1/6: Clarify,
Greg Chicares <=
- [lmi-commits] [lmi] master de0234e 3/6: Use std::fabs as appropriate in f2c-translated code, Greg Chicares, 2021/10/27
- [lmi-commits] [lmi] master 3899747 2/6: Avoid ambiguous abbreviations, Greg Chicares, 2021/10/27