Browse Source

Actually skip modules that do not have commands with current label.

tempestpy_adaptions
gereon 12 years ago
parent
commit
860a775c18
  1. 1
      src/adapters/ExplicitModelAdapter.cpp

1
src/adapters/ExplicitModelAdapter.cpp

@ -168,6 +168,7 @@ ExplicitModelAdapter::~ExplicitModelAdapter() {
storm::ir::Module const& module = this->program.getModule(i);
std::shared_ptr<std::set<uint_fast64_t>> ids = module.getCommandsByAction(action);
if (ids->size() == 0) continue;
std::list<storm::ir::Command> commands;
// Look up commands by their id. Add, if guard holds.

Loading…
Cancel
Save