From a5d922c6a8c5e89a53d63507cb8e8b911396fad5 Mon Sep 17 00:00:00 2001 From: gereon Date: Mon, 17 Dec 2012 15:28:03 +0100 Subject: [PATCH] removed pointless return that produces an error (return value...) --- src/storage/SquareSparseMatrix.h | 1 - 1 file changed, 1 deletion(-) diff --git a/src/storage/SquareSparseMatrix.h b/src/storage/SquareSparseMatrix.h index 4fe87daed..9373583c4 100644 --- a/src/storage/SquareSparseMatrix.h +++ b/src/storage/SquareSparseMatrix.h @@ -396,7 +396,6 @@ public: if ((row > rowCount) || (col > rowCount)) { 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."); - return false; } // Read elements on the diagonal directly.