Browse Source

fixed warning

Former-commit-id: 56e9774266 [formerly 3ef61956be]
Former-commit-id: 08cf16352b
tempestpy_adaptions
sjunges 8 years ago
parent
commit
35eb421e71
  1. 7
      src/counterexamples/SMTMinimalCommandSetGenerator.h

7
src/counterexamples/SMTMinimalCommandSetGenerator.h

@ -1488,7 +1488,6 @@ namespace storm {
storm::storage::BitVector reachableStates(subMdp.getNumberOfStates()); storm::storage::BitVector reachableStates(subMdp.getNumberOfStates());
// Initialize the stack for the DFS. // Initialize the stack for the DFS.
bool targetStateIsReachable = false;
std::vector<uint_fast64_t> stack; std::vector<uint_fast64_t> stack;
stack.reserve(subMdp.getNumberOfStates()); stack.reserve(subMdp.getNumberOfStates());
for (auto initialState : subMdp.getInitialStates()) { for (auto initialState : subMdp.getInitialStates()) {
@ -1516,9 +1515,9 @@ namespace storm {
reachableStates.set(successorEntry.getColumn(), true); reachableStates.set(successorEntry.getColumn(), true);
stack.push_back(successorEntry.getColumn()); stack.push_back(successorEntry.getColumn());
} }
} else if (psiStates.get(successorEntry.getColumn())) {
targetStateIsReachable = true;
}
} //else if (psiStates.get(successorEntry.getColumn())) {
//targetStateIsReachable = true;
//}
} }
if (choiceTargetsRelevantState) { if (choiceTargetsRelevantState) {

Loading…
Cancel
Save