[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[lmi-commits] [lmi] master 9ad4868 1/4: Improve concinnity
From: |
Greg Chicares |
Subject: |
[lmi-commits] [lmi] master 9ad4868 1/4: Improve concinnity |
Date: |
Sun, 26 Feb 2017 12:39:01 -0500 (EST) |
branch: master
commit 9ad4868465d8bed6dab6ff3fbaea4defcffd8778
Author: Gregory W. Chicares <address@hidden>
Commit: Gregory W. Chicares <address@hidden>
Improve concinnity
Ctor arguments were used, in preference to data members copied from
those arguments, almost everywhere in this ctor. Rewrote the single
(pointless) exception to that rule.
---
input_sequence.cpp | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/input_sequence.cpp b/input_sequence.cpp
index 162451c..567fea5 100644
--- a/input_sequence.cpp
+++ b/input_sequence.cpp
@@ -119,7 +119,7 @@ InputSequence::InputSequence
);
realize_intervals();
- assert_sane_and_ordered_partition(intervals_, years_to_maturity_);
+ assert_sane_and_ordered_partition(intervals_, a_years_to_maturity);
}
/// Construct from vector: e.g, 1 1 1 2 2 --> 1[0,3); 2[3,4).