Browse Source

Typos

tempestpy_adaptions
Matthias Volk 5 years ago
parent
commit
a082e7d228
  1. 4
      src/storm/models/sparse/MarkovAutomaton.cpp
  2. 2
      src/storm/solver/stateelimination/NondeterministicModelStateEliminator.h

4
src/storm/models/sparse/MarkovAutomaton.cpp

@ -272,8 +272,8 @@ namespace storm {
//TODO update reward models and choice labels according to kept states
STORM_LOG_WARN_COND(this->getRewardModels().empty(), "Conversion of MA to CTMC does not preserve rewards.");
STORM_LOG_WARN_COND(!this->hasChoiceLabeling(), "Conversion of MA to CTMC does not preserve choice labels.");
STORM_LOG_WARN_COND(!this->hasStateValuations(), "Conversion of MA to CTMC does not preserve choice labels.");
STORM_LOG_WARN_COND(!this->hasChoiceOrigins(), "Conversion of MA to CTMC does not preserve choice labels.");
STORM_LOG_WARN_COND(!this->hasStateValuations(), "Conversion of MA to CTMC does not preserve state valuations.");
STORM_LOG_WARN_COND(!this->hasChoiceOrigins(), "Conversion of MA to CTMC does not preserve choice origins.");
return std::make_shared<storm::models::sparse::Ctmc<ValueType, RewardModelType>>(std::move(rateMatrix), std::move(stateLabeling));
}

2
src/storm/solver/stateelimination/NondeterministicModelStateEliminator.h

@ -13,7 +13,7 @@ namespace storm {
NondeterministicModelStateEliminator(storm::storage::FlexibleSparseMatrix<ValueType>& transitionMatrix, storm::storage::FlexibleSparseMatrix<ValueType>& backwardTransitions, std::vector<ValueType>& rowValues);
// Instantiaton of virtual methods.
// Instantiation of virtual methods.
virtual void updateValue(storm::storage::sparse::state_type const& row, ValueType const& loopProbability) override;
virtual void updatePredecessor(storm::storage::sparse::state_type const& predecessorRow, ValueType const& probability, storm::storage::sparse::state_type const& row) override;

Loading…
Cancel
Save