From 464fe97578201c2b4088627b791b6676a7e84fa5 Mon Sep 17 00:00:00 2001 From: dehnert Date: Mon, 26 Nov 2012 11:41:34 +0100 Subject: [PATCH] Fixed initialization order in constructor. --- src/models/GraphTransitions.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/models/GraphTransitions.h b/src/models/GraphTransitions.h index c06701782..50b950359 100644 --- a/src/models/GraphTransitions.h +++ b/src/models/GraphTransitions.h @@ -39,7 +39,7 @@ public: * of the backwards transition relation. */ GraphTransitions(mrmc::storage::SquareSparseMatrix* transitionMatrix, bool forward) - : numberOfStates(transitionMatrix->getRowCount()), numberOfNonZeroTransitions(transitionMatrix->getNonZeroEntryCount()), predecessor_list(nullptr), state_indices_list(nullptr) { + : predecessor_list(nullptr), state_indices_list(nullptr), numberOfStates(transitionMatrix->getRowCount()), numberOfNonZeroTransitions(transitionMatrix->getNonZeroEntryCount()) { if (forward) { this->initializeForward(transitionMatrix); } else {