diff --git a/src/cli/entrypoints.h b/src/cli/entrypoints.h index ab5869684..cd134568b 100644 --- a/src/cli/entrypoints.h +++ b/src/cli/entrypoints.h @@ -28,8 +28,8 @@ namespace storm { template<> inline void verifySparseModel(std::shared_ptr> model, std::vector> const& formulas) { if (storm::settings::generalSettings().isParametricRegionSet()){ - std::cout << "Num of states with nonconstant transitions; Num of nonconstant transitions" << std::endl; - std::cout << "NUM_PARS" << model->getTransitionMatrix().getNonconstantRowGroupCount() << ";" << model->getTransitionMatrix().getNonconstantEntryCount() << std::endl; + // std::cout << "Num of states with nonconstant transitions; Num of nonconstant transitions" << std::endl; + // std::cout << "NUM_PARS;" << model->getTransitionMatrix().getNonconstantRowGroupCount() << ";" << model->getTransitionMatrix().getNonconstantEntryCount() << std::endl; auto regions=storm::modelchecker::region::ParameterRegion::getRegionsFromSettings(); std::shared_ptr, double>> modelchecker; if(model->isOfType(storm::models::ModelType::Dtmc)){ diff --git a/src/storage/SparseMatrix.cpp b/src/storage/SparseMatrix.cpp index 8469f80d3..945bfb251 100644 --- a/src/storage/SparseMatrix.cpp +++ b/src/storage/SparseMatrix.cpp @@ -1157,7 +1157,7 @@ namespace storm { template typename SparseMatrix::index_type SparseMatrix::getNonconstantRowGroupCount() const { index_type nonConstRowGroups = 0; - for (index_type rowGroup=0; rowGroup < this->getRowGroupIndices().size(); ++rowGroup) { + for (index_type rowGroup=0; rowGroup < this->getRowGroupCount(); ++rowGroup) { for( auto const& entry : this->getRowGroup(rowGroup)){ if(!storm::utility::isConstant(entry.getValue())){ ++nonConstRowGroups;