Browse Source

Added correct return value computation in method MakeRowsAbsorbing of

class SquareSparseMatrix.
tempestpy_adaptions
Lanchid 12 years ago
parent
commit
cbf719568a
  1. 7
      src/storage/SquareSparseMatrix.h

7
src/storage/SquareSparseMatrix.h

@ -665,13 +665,12 @@ public:
* This function makes the rows given by the bit vector absorbing. * This function makes the rows given by the bit vector absorbing.
*/ */
bool makeRowsAbsorbing(const mrmc::storage::BitVector rows) { bool makeRowsAbsorbing(const mrmc::storage::BitVector rows) {
bool result = true;
for (auto row : rows) { for (auto row : rows) {
makeRowAbsorbing(row);
result = result && makeRowAbsorbing(row);
} }
//FIXME: Had no return value; as I compile with -Werror ATM, build did not work so I added:
return false;
//(Thomas Heinemann, 06.12.2012)
return result;
} }
/*! /*!

Loading…
Cancel
Save