lmi-commits
[Top][All Lists]
Advanced

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

[lmi-commits] [lmi] master f01c071 3/6: Expunge untrue comments


From: Greg Chicares
Subject: [lmi-commits] [lmi] master f01c071 3/6: Expunge untrue comments
Date: Tue, 16 Feb 2021 20:11:38 -0500 (EST)

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

    Expunge untrue comments
    
    In standard C++, one cannot write
      vector == scalar
    to determine whether every element of the vector equals the scalar,
    regardless of whether PETE is used.
---
 gpt_server.cpp | 2 --
 mec_server.cpp | 2 --
 2 files changed, 4 deletions(-)

diff --git a/gpt_server.cpp b/gpt_server.cpp
index 6f162e3..510211f 100644
--- a/gpt_server.cpp
+++ b/gpt_server.cpp
@@ -212,8 +212,6 @@ gpt_state test_one_days_gpt_transactions
     assign(DBDiscountRate, 1.0 / (1.0 + Mly7702ig));
 
     // Use zero if that's the guaranteed rate; else use the statutory rate.
-    // ET !! Use each_equal() here because PETE seems to interfere with
-    // the normal operator==(). Is that a PETE defect?
     std::vector<double> const zero(input.years_to_maturity(), 0.0);
     std::vector<double> const& naar_disc_rate =
           each_equal(Mly7702ig, 0.0)
diff --git a/mec_server.cpp b/mec_server.cpp
index 109c959..20a6700 100644
--- a/mec_server.cpp
+++ b/mec_server.cpp
@@ -193,8 +193,6 @@ mec_state test_one_days_7702A_transactions
     assign(DBDiscountRate, 1.0 / (1.0 + Mly7702ig));
 
     // Use zero if that's the guaranteed rate; else use the statutory rate.
-    // ET !! Use each_equal() here because PETE seems to interfere with
-    // the normal operator==(). Is that a PETE defect?
     std::vector<double> const zero(input.years_to_maturity(), 0.0);
     std::vector<double> const& naar_disc_rate =
           each_equal(Mly7702ig, 0.0)



reply via email to

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