Browse Source

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

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

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

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

Loading…
Cancel
Save