Browse Source

fixed compiling storm-pars

tempestpy_adaptions
TimQu 7 years ago
parent
commit
69a27ddad6
  1. 4
      src/storm-pars/modelchecker/region/SparseDtmcParameterLiftingModelChecker.cpp

4
src/storm-pars/modelchecker/region/SparseDtmcParameterLiftingModelChecker.cpp

@ -253,8 +253,8 @@ namespace storm {
if (stepBound) { if (stepBound) {
assert(*stepBound > 0); assert(*stepBound > 0);
x = std::vector<ConstantType>(maybeStates.getNumberOfSetBits(), storm::utility::zero<ConstantType>()); x = std::vector<ConstantType>(maybeStates.getNumberOfSetBits(), storm::utility::zero<ConstantType>());
auto multiplier = storm::solver::MultiplierFactory<ConstantType>().create();
multiplier->repeatedMultiply(env, dirForParameters, x, &parameterLifter->getVector(), *stepBound);
auto multiplier = storm::solver::MultiplierFactory<ConstantType>().create(env, parameterLifter->getMatrix());
multiplier->repeatedMultiplyAndReduce(env, dirForParameters, x, &parameterLifter->getVector(), *stepBound);
} else { } else {
auto solver = solverFactory->create(env, parameterLifter->getMatrix()); auto solver = solverFactory->create(env, parameterLifter->getMatrix());
solver->setHasUniqueSolution(); solver->setHasUniqueSolution();

Loading…
Cancel
Save