diff --git a/src/storm/storage/jani/JSONExporter.cpp b/src/storm/storage/jani/JSONExporter.cpp index 480b2cbe6..3e0093f5b 100644 --- a/src/storm/storage/jani/JSONExporter.cpp +++ b/src/storm/storage/jani/JSONExporter.cpp @@ -731,7 +731,7 @@ namespace storm { boost::any ExpressionToJson::visit(storm::expressions::FunctionCallExpression const& expression, boost::any const& data) { modernjson::json opDecl; opDecl["op"] = "call"; - opDecl["function"] = expression.getIdentifier(); + opDecl["function"] = expression.getFunctionIdentifier(); std::vector arguments; for (uint64_t i = 0; i < expression.getNumberOfArguments(); ++i) { arguments.push_back(boost::any_cast(expression.getArgument(i)->accept(*this, data))); diff --git a/src/storm/storage/jani/traverser/FunctionCallExpressionFinder.cpp b/src/storm/storage/jani/traverser/FunctionCallExpressionFinder.cpp index f9f8b22ac..b2e373dbd 100644 --- a/src/storm/storage/jani/traverser/FunctionCallExpressionFinder.cpp +++ b/src/storm/storage/jani/traverser/FunctionCallExpressionFinder.cpp @@ -85,7 +85,7 @@ namespace storm { virtual boost::any visit(storm::expressions::FunctionCallExpression const& expression, boost::any const& data) override { auto& set = *boost::any_cast*>(data); - set.insert(expression.getIdentifier()); + set.insert(expression.getFunctionIdentifier()); for (uint64_t i = 0; i < expression.getNumberOfArguments(); ++i) { expression.getArgument(i)->accept(*this, data); }