Skip to content

Commit bc1a2be

Browse files
authored
Fix double free problem when working with interactive belief explorer (#185)
* Fixing SAYNT double free problem * Remove GIL release * bumped the required Storm version
1 parent 277ca2f commit bc1a2be

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
sys.exit('Sorry, Python 2.x is not supported')
1414

1515
# Minimal storm version required
16-
storm_min_version = "1.9.0"
16+
storm_min_version = "1.9.1"
1717

1818
# Get the long description from the README file
1919
with open(os.path.join(os.path.abspath(os.path.dirname(__file__)), 'README.md'), encoding='utf-8') as f:

src/pomdp/quantitative_analysis.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@ void define_belief_exploration(py::module& m, std::string const& vtSuffix) {
3030
belmc.def("get_status", &BeliefExplorationPomdpModelChecker<ValueType>::getStatus);
3131
belmc.def("get_interactive_belief_explorer", &BeliefExplorationPomdpModelChecker<ValueType>::getInteractiveBeliefExplorer);
3232
belmc.def("has_converged", &BeliefExplorationPomdpModelChecker<ValueType>::hasConverged);
33+
belmc.def("set_fsc_values", &BeliefExplorationPomdpModelChecker<ValueType>::setFMSchedValueList, py::arg("value_list"));
3334

3435
py::class_<typename storm::builder::BeliefMdpExplorer<Pomdp<ValueType>, ValueType>> belmdpexpl(m, ("BeliefMdpExplorer" + vtSuffix).c_str());
3536
belmdpexpl.def("set_fsc_values", &storm::builder::BeliefMdpExplorer<Pomdp<ValueType>, ValueType>::setFMSchedValueList, py::arg("value_list"));

0 commit comments

Comments
 (0)