lmi-commits
[Top][All Lists]
Advanced

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

[lmi-commits] [lmi] master 837c225 10/14: Sort assertions


From: Greg Chicares
Subject: [lmi-commits] [lmi] master 837c225 10/14: Sort assertions
Date: Thu, 18 Feb 2021 12:03:41 -0500 (EST)

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

    Sort assertions
---
 ihs_irc7702.cpp | 16 ++++++++--------
 1 file changed, 8 insertions(+), 8 deletions(-)

diff --git a/ihs_irc7702.cpp b/ihs_irc7702.cpp
index f42b273..f42e61c 100644
--- a/ihs_irc7702.cpp
+++ b/ihs_irc7702.cpp
@@ -532,18 +532,18 @@ void Irc7702::InitPvVectors(EIOBasis const& a_EIOBasis)
     // Present value of charges per policy
 
     LMI_ASSERT(Length == lmi::ssize(AnnChgPol));
-    LMI_ASSERT(Length == lmi::ssize(comm_fns.aD()));
+    LMI_ASSERT(Length == lmi::ssize(LoadExc));
+    LMI_ASSERT(Length == lmi::ssize(LoadTgt));
+    LMI_ASSERT(Length == lmi::ssize(MlyChgADD));
     LMI_ASSERT(Length == lmi::ssize(MlyChgPol));
-    LMI_ASSERT(Length == lmi::ssize(comm_fns.kD()));
     LMI_ASSERT(Length == lmi::ssize(MlyChgSpecAmt));
-    LMI_ASSERT(Length == lmi::ssize(comm_fns.kD()));
-    LMI_ASSERT(Length == lmi::ssize(MlyChgADD));
-    LMI_ASSERT(Length == lmi::ssize(comm_fns.kD()));
-    LMI_ASSERT(Length == lmi::ssize(comm_fns.kC()));
-    LMI_ASSERT(Length == lmi::ssize(LoadTgt));
     LMI_ASSERT(Length == lmi::ssize(comm_fns.aD()));
-    LMI_ASSERT(Length == lmi::ssize(LoadExc));
     LMI_ASSERT(Length == lmi::ssize(comm_fns.aD()));
+    LMI_ASSERT(Length == lmi::ssize(comm_fns.aD()));
+    LMI_ASSERT(Length == lmi::ssize(comm_fns.kC()));
+    LMI_ASSERT(Length == lmi::ssize(comm_fns.kD()));
+    LMI_ASSERT(Length == lmi::ssize(comm_fns.kD()));
+    LMI_ASSERT(Length == lmi::ssize(comm_fns.kD()));
 
     std::vector<double>& chg_pol = PvChgPol[a_EIOBasis];
     chg_pol.resize(Length);



reply via email to

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