From a3663bfa40e680d0b986f049b9760ecef0598224 Mon Sep 17 00:00:00 2001 From: Sebastian Junges Date: Fri, 30 Dec 2016 22:02:51 +0100 Subject: [PATCH] fixed signature due to changed signature in storm / storm::buildSparseModel --- src/core/core.cpp | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/src/core/core.cpp b/src/core/core.cpp index 5b9b8db..332aac5 100644 --- a/src/core/core.cpp +++ b/src/core/core.cpp @@ -35,15 +35,15 @@ std::shared_ptr buildModel(storm::prism::Program const } template -std::shared_ptr buildSparseModel(storm::prism::Program const& program, std::shared_ptr const& formula, bool onlyInitialStatesRelevant = false) { - return storm::buildSparseModel(program, std::vector>(1,formula), onlyInitialStatesRelevant); +std::shared_ptr buildSparseModel(storm::prism::Program const& program, std::shared_ptr const& formula) { + return storm::buildSparseModel(program, std::vector>(1,formula)); } void define_build(py::module& m) { // Build model - m.def("_build_model", &buildSparseModel, "Build the model", py::arg("program"), py::arg("formula"), py::arg("onlyInitialRelevant") = false); - m.def("_build_parametric_model", &buildSparseModel, "Build the parametric model", py::arg("program"), py::arg("formula"), py::arg("onlyInitialRelevant") = false); - m.def("build_model_from_prism_program", &storm::buildSparseModel, "Build the model", py::arg("program"), py::arg("formulas") = std::vector>(), py::arg("onlyInitialRelevant") = false); - m.def("build_parametric_model_from_prism_program", &storm::buildSparseModel, "Build the parametric model", py::arg("program"), py::arg("formulas"), py::arg("onlyInitialRelevant") = false); + m.def("_build_model", &buildSparseModel, "Build the model", py::arg("program"), py::arg("formula")); + m.def("_build_parametric_model", &buildSparseModel, "Build the parametric model", py::arg("program"), py::arg("formula")); + m.def("build_model_from_prism_program", &storm::buildSparseModel, "Build the model", py::arg("program"), py::arg("formulas") = std::vector>()); + m.def("build_parametric_model_from_prism_program", &storm::buildSparseModel, "Build the parametric model", py::arg("program"), py::arg("formulas")); }