Sebastian Junges 5 years ago
parent
commit
cf743f3c32
  1. 2
      src/storage/valuation.cpp

2
src/storage/valuation.cpp

@ -9,7 +9,7 @@
void define_statevaluation(py::module& m) { void define_statevaluation(py::module& m) {
py::class_<storm::storage::sparse::StateValuations, std::shared_ptr<storm::storage::sparse::StateValuations>> statevaluation(m,"StateValuation", "Valuations for explicit states"); py::class_<storm::storage::sparse::StateValuations, std::shared_ptr<storm::storage::sparse::StateValuations>> statevaluation(m,"StateValuation", "Valuations for explicit states");
statevaluation.def("get_state", &storm::storage::sparse::StateValuations::getStateValuation, py::return_value_policy::reference)
statevaluation.def("get_state", &storm::storage::sparse::StateValuations::getStateValuation, py::return_value_policy::reference_internal)
; ;
} }

Loading…
Cancel
Save