Browse Source

Bugfix: valuations now correctly store the given initial value for boolean variables.

Former-commit-id: a23f014303
tempestpy_adaptions
dehnert 11 years ago
parent
commit
3eb8f8e328
  1. 2
      src/storage/expressions/SimpleValuation.cpp

2
src/storage/expressions/SimpleValuation.cpp

@ -17,7 +17,7 @@ namespace storm {
LOG_THROW(this->booleanIdentifierToIndexMap->find(name) == this->booleanIdentifierToIndexMap->end(), storm::exceptions::InvalidArgumentException, "Boolean identifier '" << name << "' already registered.");
this->booleanIdentifierToIndexMap->emplace(name, this->booleanValues.size());
this->booleanValues.push_back(false);
this->booleanValues.push_back(initialValue);
}
void SimpleValuation::addIntegerIdentifier(std::string const& name, int_fast64_t initialValue) {

Loading…
Cancel
Save