Browse Source

default layout info including warning

tempestpy_adaptions
Sebastian Junges 8 years ago
parent
commit
f78d30ab4f
  1. 4
      src/storm-dft/storage/dft/DFT.h

4
src/storm-dft/storage/dft/DFT.h

@ -270,6 +270,10 @@ namespace storm {
} }
DFTLayoutInfo const& getElementLayoutInfo(size_t id) const { DFTLayoutInfo const& getElementLayoutInfo(size_t id) const {
if(mLayoutInfo.count(id) == 0) {
STORM_LOG_WARN("Layout info for element with id " << id << " not found");
return DFTLayoutInfo();
}
return mLayoutInfo.at(id); return mLayoutInfo.at(id);
} }

Loading…
Cancel
Save