Skip to content

Commit 1a4b957

Browse files
authored
Adaption to changes in storm-pomdp (#119)
2 parents b05f931 + f2fe878 commit 1a4b957

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/pomdp/transformations.cpp

+2-2
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ std::shared_ptr<storm::models::sparse::Pomdp<ValueType>> unfold_memory(storm::mo
2222
template<typename ValueType>
2323
std::shared_ptr<storm::models::sparse::Pomdp<ValueType>> make_simple(storm::models::sparse::Pomdp<ValueType> const& pomdp, bool keepStateValuations) {
2424
storm::transformer::BinaryPomdpTransformer<ValueType> transformer;
25-
return transformer.transform(pomdp,true, keepStateValuations);
25+
return transformer.transform(pomdp,true, keepStateValuations).transformedPomdp;
2626
}
2727

2828
template<typename ValueType>
@@ -66,4 +66,4 @@ void define_transformations(py::module& m, std::string const& vtSuffix) {
6666

6767
template void define_transformations<double>(py::module& m, std::string const& vtSuffix);
6868
template void define_transformations<storm::RationalNumber>(py::module& m, std::string const& vtSuffix);
69-
template void define_transformations<storm::RationalFunction>(py::module& m, std::string const& vtSuffix);
69+
template void define_transformations<storm::RationalFunction>(py::module& m, std::string const& vtSuffix);

0 commit comments

Comments
 (0)