diff --git a/src/adapters/ExplicitModelAdapter.cpp b/src/adapters/ExplicitModelAdapter.cpp index d5f9be117..7b496b66d 100644 --- a/src/adapters/ExplicitModelAdapter.cpp +++ b/src/adapters/ExplicitModelAdapter.cpp @@ -458,11 +458,11 @@ ExplicitModelAdapter::~ExplicitModelAdapter() { * @return result matrix. */ std::shared_ptr> ExplicitModelAdapter::buildNondeterministicMatrix() { - LOG4CPLUS_DEBUG(logger, "Building nondeterministic transition matrix with " << this->numberOfChoices << " choices and " << this->numberOfTransitions << " transitions now."); - std::shared_ptr> result(new storm::storage::SparseMatrix(allStates.size(), this->numberOfChoices)); + LOG4CPLUS_DEBUG(logger, "Building nondeterministic transition matrix: " << this->numberOfChoices << " x " << allStates.size() << " with " << this->numberOfTransitions << " transitions now."); + std::shared_ptr> result(new storm::storage::SparseMatrix(this->numberOfChoices, allStates.size())); result->initialize(this->numberOfTransitions); if ((this->rewardModel != nullptr) && (this->rewardModel->hasTransitionRewards())) { - this->transitionRewards = std::shared_ptr>(new storm::storage::SparseMatrix(allStates.size(), this->numberOfChoices)); + this->transitionRewards = std::shared_ptr>(new storm::storage::SparseMatrix(this->numberOfChoices, allStates.size())); this->transitionRewards->initialize(this->numberOfTransitions); } // Build matrix.