Browse Source

NativePolytope: Improved clean() operation on empty polytopes.

tempestpy_adaptions
Tim Quatmann 6 years ago
parent
commit
fab5adb275
  1. 3
      src/storm/storage/geometry/NativePolytope.cpp

3
src/storm/storage/geometry/NativePolytope.cpp

@ -400,6 +400,9 @@ namespace storm {
template <typename ValueType>
std::shared_ptr<Polytope<ValueType>> NativePolytope<ValueType>::clean() {
if (isEmpty()) {
return create(boost::none, {});
}
return create(boost::none, getVertices());
}

Loading…
Cancel
Save