Browse Source

Fixed a bug in the SparseMatrix.cpp. When using TBB the typename is not permitted.

Former-commit-id: e191c14e1d
tempestpy_adaptions
PBerger 11 years ago
parent
commit
63933637ac
  1. 8
      src/storage/SparseMatrix.cpp

8
src/storage/SparseMatrix.cpp

@ -726,10 +726,10 @@ namespace storm {
uint_fast64_t endRow = range.end();
const_iterator it = this->begin(startRow);
const_iterator ite;
typename std::vector<uint_fast64_t>::const_iterator rowIterator = this->rowIndications.begin() + startRow;
typename std::vector<uint_fast64_t>::const_iterator rowIteratorEnd = this->rowIndications.begin() + endRow;
typename std::vector<T>::iterator resultIterator = result.begin() + startRow;
typename std::vector<T>::iterator resultIteratorEnd = result.begin() + endRow;
std::vector<uint_fast64_t>::const_iterator rowIterator = this->rowIndications.begin() + startRow;
std::vector<uint_fast64_t>::const_iterator rowIteratorEnd = this->rowIndications.begin() + endRow;
std::vector<T>::iterator resultIterator = result.begin() + startRow;
std::vector<T>::iterator resultIteratorEnd = result.begin() + endRow;
for (; resultIterator != resultIteratorEnd; ++rowIterator, ++resultIterator) {
*resultIterator = storm::utility::constantZero<T>();

Loading…
Cancel
Save