lmi-commits
[Top][All Lists]
Advanced

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

[lmi-commits] [lmi] master bf5f2ba 23/25: Eradicate bogosity


From: Greg Chicares
Subject: [lmi-commits] [lmi] master bf5f2ba 23/25: Eradicate bogosity
Date: Wed, 24 Feb 2021 19:00:55 -0500 (EST)

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

    Eradicate bogosity
---
 irc7702_interest.cpp | 5 -----
 irc7702_interest.hpp | 3 ---
 2 files changed, 8 deletions(-)

diff --git a/irc7702_interest.cpp b/irc7702_interest.cpp
index 2e533cb..95a8b1b 100644
--- a/irc7702_interest.cpp
+++ b/irc7702_interest.cpp
@@ -129,9 +129,4 @@ i7702::i7702
     std::vector<double> contractual_naar_discount;
     database_.query_into(DB_NaarDiscount, contractual_naar_discount);
     ig_ = (zero == contractual_naar_discount) ? zero : gross_;
-
-    // 7702 !! For the nonce, use this in place of 'ig_' even though
-    // that is wrong, because correcting it in certain old code causes
-    // regressions that will take some effort to resolve.
-    bogus_ = contractual_naar_discount;
 }
diff --git a/irc7702_interest.hpp b/irc7702_interest.hpp
index c1d71ca..3dbe9c0 100644
--- a/irc7702_interest.hpp
+++ b/irc7702_interest.hpp
@@ -46,7 +46,6 @@ class LMI_SO i7702 final
     std::vector<double> const& gross  () const {return gross_;  }
     std::vector<double> const& net_glp() const {return net_glp_;}
     std::vector<double> const& net_gsp() const {return net_gsp_;}
-    std::vector<double> const& bogus  () const {return bogus_;  }
 
     // 7702 !! ephemeral
     std::vector<double> const& spread() const {return spread_;}
@@ -61,8 +60,6 @@ class LMI_SO i7702 final
     std::vector<double> gross_  ;
     std::vector<double> net_glp_;
     std::vector<double> net_gsp_;
-    // 7702 !! deprecated:
-    std::vector<double> bogus_  ;
 };
 
 #endif // irc7702_interest_hpp



reply via email to

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