Browse Source

small fixes

Former-commit-id: 0d9cc58d75
tempestpy_adaptions
David_Korzeniewski 10 years ago
parent
commit
3e4495cad0
  1. 1
      src/models/PseudoModel.h
  2. 2
      src/solver/TopologicalValueIterationNondeterministicLinearEquationSolver.cpp

1
src/models/PseudoModel.h

@ -4,6 +4,7 @@
#include <cstdint> #include <cstdint>
#include "src/storage/SparseMatrix.h" #include "src/storage/SparseMatrix.h"
#include "src/storage/Decomposition.h" #include "src/storage/Decomposition.h"
#include "src/storage/StateBlock.h"
namespace storm { namespace storm {
namespace models { namespace models {

2
src/solver/TopologicalValueIterationNondeterministicLinearEquationSolver.cpp

@ -35,7 +35,7 @@ namespace storm {
//this->relative = !settings->isSet("absolute"); //this->relative = !settings->isSet("absolute");
this->maximalNumberOfIterations = settings.getMaximalIterationCount(); this->maximalNumberOfIterations = settings.getMaximalIterationCount();
this->precision = settings.getPrecision(); this->precision = settings.getPrecision();
this->relative = (settings.getConvergenceCriterion() == TopologicalValueIterationEquationSolverSettings::ConvergenceCriterion::Relative);
this->relative = (settings.getConvergenceCriterion() == storm::settings::modules::TopologicalValueIterationEquationSolverSettings::ConvergenceCriterion::Relative);
} }
template<typename ValueType> template<typename ValueType>

Loading…
Cancel
Save