From 2f5df9d72fd3db4df95017623a14a76aa4d02838 Mon Sep 17 00:00:00 2001 From: sjunges Date: Mon, 31 Aug 2015 17:55:45 +0200 Subject: [PATCH] use the configured factory in the sparse mdp helper Former-commit-id: 8d3faf1c6b4fb57dc915b20db8a6556bf89554ec --- src/modelchecker/prctl/helper/SparseMdpPrctlHelper.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/modelchecker/prctl/helper/SparseMdpPrctlHelper.cpp b/src/modelchecker/prctl/helper/SparseMdpPrctlHelper.cpp index ef33afe15..3adbde5dc 100644 --- a/src/modelchecker/prctl/helper/SparseMdpPrctlHelper.cpp +++ b/src/modelchecker/prctl/helper/SparseMdpPrctlHelper.cpp @@ -119,7 +119,7 @@ namespace storm { // Solve the corresponding system of equations. std::unique_ptr> solver = storm::solver::configureMinMaxLinearEquationSolver(goal, minMaxLinearEquationSolverFactory, submatrix); - solver->solveEquationSystem(goal.direction(), x, b); + solver->solveEquationSystem(x, b); // Set values of resulting vector according to result. storm::utility::vector::setVectorValues(result, maybeStates, x);