[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[lmi-commits] [lmi] master f982292 1/4: Fix defect introduced 20090630T0
From: |
Greg Chicares |
Subject: |
[lmi-commits] [lmi] master f982292 1/4: Fix defect introduced 20090630T0437Z: nonconformable lengths |
Date: |
Fri, 19 Mar 2021 08:04:30 -0400 (EDT) |
branch: master
commit f98229253e67f681cebeb1fb57a79f706a363bb9
Author: Gregory W. Chicares <gchicares@sbcglobal.net>
Commit: Gregory W. Chicares <gchicares@sbcglobal.net>
Fix defect introduced 20090630T0437Z: nonconformable lengths
Commit 5f42fde7f59e57 of 20090630T0437Z concatenated unity to a vector
of NSPs that was already of the correct length. This didn't cause any
observable error because PETE ignored the extra element on this line:
ratio_Ax += tabular_Ax / analytic_Ax ;
N 1+N N <-- vector lengths
but it's about to become a runtime error.
---
mec_server.cpp | 1 -
1 file changed, 1 deletion(-)
diff --git a/mec_server.cpp b/mec_server.cpp
index 2990488..3d8a314 100644
--- a/mec_server.cpp
+++ b/mec_server.cpp
@@ -148,7 +148,6 @@ mec_state test_one_days_7702A_transactions
LMI_ASSERT(0.0 < CvatCorridorFactors[j]);
tabular_Ax.push_back(1.0 / CvatCorridorFactors[j]);
}
- tabular_Ax.push_back(1.0);
std::vector<double> const tabular_7Px = irc_7702A_7pp
(product_filenames