Browse Source

fixed (merge?) mistake that yielded errors for expected rewards

tempestpy_adaptions
Sebastian Junges 5 years ago
parent
commit
5c7a6b791a
  1. 5
      src/storm-pomdp-cli/storm-pomdp.cpp

5
src/storm-pomdp-cli/storm-pomdp.cpp

@ -239,12 +239,9 @@ int main(const int argc, const char** argv) {
} }
if (formula) { if (formula) {
if (formula->isProbabilityOperatorFormula()) {
storm::logic::ProbabilityOperatorFormula const &probFormula = formula->asProbabilityOperatorFormula(); storm::logic::ProbabilityOperatorFormula const &probFormula = formula->asProbabilityOperatorFormula();
storm::logic::Formula const &subformula1 = probFormula.getSubformula(); storm::logic::Formula const &subformula1 = probFormula.getSubformula();
if (formula->isProbabilityOperatorFormula()) {
std::set<uint32_t> targetObservationSet; std::set<uint32_t> targetObservationSet;
storm::storage::BitVector targetStates(pomdp->getNumberOfStates()); storm::storage::BitVector targetStates(pomdp->getNumberOfStates());
storm::storage::BitVector badStates(pomdp->getNumberOfStates()); storm::storage::BitVector badStates(pomdp->getNumberOfStates());

Loading…
Cancel
Save