Browse Source

quickfix for setting layout info only when available (review tomorrow)

tempestpy_adaptions
sjunges 8 years ago
parent
commit
a5c7057fc3
  1. 4
      src/storm-dft/storage/dft/DFTBuilder.cpp

4
src/storm-dft/storage/dft/DFTBuilder.cpp

@ -91,7 +91,9 @@ namespace storm {
// Set layout info
for (auto& elem : mElements) {
dft.setElementLayoutInfo(elem.second->id(), mLayoutInfo.at(elem.first));
if(mLayoutInfo.count(elem.first) > 0) {
dft.setElementLayoutInfo(elem.second->id(), mLayoutInfo.at(elem.first));
}
}
return dft;

Loading…
Cancel
Save