Browse Source

removed pointless return that produces an error (return value...)

tempestpy_adaptions
gereon 12 years ago
parent
commit
a5d922c6a8
  1. 1
      src/storage/SquareSparseMatrix.h

1
src/storage/SquareSparseMatrix.h

@ -396,7 +396,6 @@ public:
if ((row > rowCount) || (col > rowCount)) { if ((row > rowCount) || (col > rowCount)) {
LOG4CPLUS_ERROR(logger, "Trying to read a value from illegal position (" << row << ", " << col << ")."); LOG4CPLUS_ERROR(logger, "Trying to read a value from illegal position (" << row << ", " << col << ").");
throw mrmc::exceptions::out_of_range("Trying to read a value from illegal position."); throw mrmc::exceptions::out_of_range("Trying to read a value from illegal position.");
return false;
} }
// Read elements on the diagonal directly. // Read elements on the diagonal directly.

Loading…
Cancel
Save