Skip to content

Commit

Permalink
Adaption to changes in Storm (#174)
Browse files Browse the repository at this point in the history
  • Loading branch information
volkm authored Jul 15, 2024
2 parents b6413db + 47ee8a4 commit 9085cfd
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
2 changes: 0 additions & 2 deletions .github/workflows/buildtest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,6 @@ on:
pull_request:

env:
GIT_URL: "${{ github.server_url }}/${{ github.repository }}.git"
BRANCH: "${{ github.ref }}"
# GitHub runners currently have two cores
NR_JOBS: "2"

Expand Down
4 changes: 2 additions & 2 deletions src/storage/jani.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ void define_jani(py::module& m) {
.def_property_readonly("nr_destinations", &Edge::getNumberOfDestinations, "nr edge destinations")
.def_property_readonly("guard", &Edge::getGuard, "edge guard")
.def_property("color", &Edge::getColor, &Edge::setColor, "color for the edge")
.def("substitute", &Edge::substitute, py::arg("mapping"))
.def("substitute", &Edge::substitute, py::arg("mapping"), py::arg("substitute_transcendental_numbers"))
.def("has_silent_action", &Edge::hasSilentAction, "Is the edge labelled with the silent action")
;

Expand Down Expand Up @@ -112,7 +112,7 @@ void define_jani(py::module& m) {
.def(py::init<std::vector<Assignment> const&>(), "assignments")
.def("__str__", &streamToString<OrderedAssignments>)
.def("clone", &OrderedAssignments::clone, "clone assignments (performs a deep copy)")
.def("substitute", &OrderedAssignments::substitute, "substitute in rhs according to given substitution map", "substitution_map"_a)
.def("substitute", &OrderedAssignments::substitute, "substitute in rhs according to given substitution map", "substitution_map"_a, "substitute_transcendental_numbers"_a)
.def("add", [](OrderedAssignments& oa, Assignment const& newAssignment, bool addToExisting) {return oa.add(newAssignment, addToExisting); }, "new_assignment"_a, "add_to_existing"_a = false)
;

Expand Down

0 comments on commit 9085cfd

Please sign in to comment.