Browse Source

use the configured factory in the sparse mdp helper

Former-commit-id: 8d3faf1c6b
tempestpy_adaptions
sjunges 9 years ago
parent
commit
2f5df9d72f
  1. 2
      src/modelchecker/prctl/helper/SparseMdpPrctlHelper.cpp

2
src/modelchecker/prctl/helper/SparseMdpPrctlHelper.cpp

@ -119,7 +119,7 @@ namespace storm {
// Solve the corresponding system of equations.
std::unique_ptr<storm::solver::MinMaxLinearEquationSolver<ValueType>> 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<ValueType>(result, maybeStates, x);

Loading…
Cancel
Save