Browse Source

Fixed compile errors caused by parts of the c++ standard I've never heard of before...

Former-commit-id: 8dbd813f42
tempestpy_adaptions
David_Korzeniewski 10 years ago
parent
commit
7515ca5293
  1. 4
      src/solver/TopologicalValueIterationNondeterministicLinearEquationSolver.cpp

4
src/solver/TopologicalValueIterationNondeterministicLinearEquationSolver.cpp

@ -63,9 +63,9 @@ namespace storm {
#define __FORCE_FLOAT_CALCULATION false
#endif
if (__FORCE_FLOAT_CALCULATION && (sizeof(ValueType) == sizeof(double))) {
TopologicalValueIterationNondeterministicLinearEquationSolver<float> tvindles(precision, maximalNumberOfIterations, relative);
TopologicalValueIterationNondeterministicLinearEquationSolver<float> tvindles{ precision, maximalNumberOfIterations, relative };
storm::storage::SparseMatrix<float> new_A = A.toValueType<float>();
storm::storage::SparseMatrix<float> new_A = A.template toValueType<float>();
std::vector<float> new_x = storm::utility::vector::toValueType<float>(x);
std::vector<float> const new_b = storm::utility::vector::toValueType<float>(b);

Loading…
Cancel
Save