Browse Source

fix in dft::maxrank

tempestpy_adaptions
Sebastian Junges 8 years ago
parent
commit
6e5a316f1d
  1. 8
      src/storm-dft/storage/dft/DFT.cpp

8
src/storm-dft/storage/dft/DFT.cpp

@ -284,7 +284,13 @@ namespace storm {
template<typename ValueType>
uint64_t DFT<ValueType>::maxRank() const {
return mElements.back()->rank();
uint64_t max = 0;
for (auto const& e : mElements) {
if(e->rank() > max) {
max = e->rank();
}
}
return max;
}
template<typename ValueType>

Loading…
Cancel
Save