From 3657b13aa9ec91e842de9e6be84f09f95595fc46 Mon Sep 17 00:00:00 2001 From: dehnert Date: Mon, 31 Aug 2015 11:04:42 +0200 Subject: [PATCH] another missing ifdef Former-commit-id: 447f164488bda444543c3ebd33b083efec2b2667 --- src/modelchecker/prctl/helper/SparseMdpPrctlHelper.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/modelchecker/prctl/helper/SparseMdpPrctlHelper.cpp b/src/modelchecker/prctl/helper/SparseMdpPrctlHelper.cpp index 0bebce717..0f32864f6 100644 --- a/src/modelchecker/prctl/helper/SparseMdpPrctlHelper.cpp +++ b/src/modelchecker/prctl/helper/SparseMdpPrctlHelper.cpp @@ -173,6 +173,7 @@ namespace storm { targetStates, qualitative, minMaxLinearEquationSolverFactory); } +#ifdef STORM_HAVE_CARL template std::vector SparseMdpPrctlHelper::computeReachabilityRewards(bool minimize, storm::storage::SparseMatrix const& transitionMatrix, storm::storage::SparseMatrix const& backwardTransitions, storm::models::sparse::StandardRewardModel const& intervalRewardModel, storm::storage::BitVector const& targetStates, bool qualitative, storm::utility::solver::MinMaxLinearEquationSolverFactory const& minMaxLinearEquationSolverFactory) { // Only compute the result if the reward model is not empty. @@ -189,6 +190,7 @@ namespace storm { }, targetStates, qualitative, minMaxLinearEquationSolverFactory); } +#endif template std::vector SparseMdpPrctlHelper::computeReachabilityRewardsHelper(bool minimize, storm::storage::SparseMatrix const& transitionMatrix, storm::storage::SparseMatrix const& backwardTransitions, std::function(uint_fast64_t, storm::storage::SparseMatrix const&, storm::storage::BitVector const&)> const& totalStateRewardVectorGetter, storm::storage::BitVector const& targetStates, bool qualitative, storm::utility::solver::MinMaxLinearEquationSolverFactory const& minMaxLinearEquationSolverFactory) {