lmi-commits
[Top][All Lists]
Advanced

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

[lmi-commits] [lmi] master d8700cc 4/5: Eliminate a superfluity


From: Greg Chicares
Subject: [lmi-commits] [lmi] master d8700cc 4/5: Eliminate a superfluity
Date: Mon, 11 Mar 2019 19:40:42 -0400 (EDT)

branch: master
commit d8700cc4e3ccb5677350568c9f598d6d978c53df
Author: Gregory W. Chicares <address@hidden>
Commit: Gregory W. Chicares <address@hidden>

    Eliminate a superfluity
    
    It is an asserted postcondition of actuarial_table::specific_values()
    that the returned vector has the expected length, so it is unnecessary
    to inspect that invariant in verify_cell().
---
 verify_products.cpp | 1 -
 1 file changed, 1 deletion(-)

diff --git a/verify_products.cpp b/verify_products.cpp
index feb971e..4b4e89e 100644
--- a/verify_products.cpp
+++ b/verify_products.cpp
@@ -95,7 +95,6 @@ void verify_one_cell
             << "\n  table number: " << t
             << "\n  min age: " << a.min_age()
             << "\n  max age: " << a.max_age()
-            << "\n  length: " << a.max_age() - a.min_age()
             << "\n  cso length: " << lmi::ssize(v0)
             << "\n  table length: " << lmi::ssize(v1)
             << "\n  v0.front(): " << v0.front()



reply via email to

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