diff --git a/src/logic/formulae.cpp b/src/logic/formulae.cpp index 3e4d773..69f87e3 100644 --- a/src/logic/formulae.cpp +++ b/src/logic/formulae.cpp @@ -54,7 +54,8 @@ void define_formulae(py::module& m) { // State Formulae py::class_> stateFormula(m, "StateFormula", "Formula about a state of an automaton", formula); - py::class_>(m, "AtomicExpressionFormula", "Formula with an atomic expression", stateFormula); + py::class_>(m, "AtomicExpressionFormula", "Formula with an atomic expression", stateFormula) + .def("get_expression", &storm::logic::AtomicExpressionFormula::getExpression); py::class_>(m, "AtomicLabelFormula", "Formula with an atomic label", stateFormula); py::class_>(m, "BooleanLiteralFormula", "Formula with a boolean literal", stateFormula) .def(py::init(),"truth value"_a);