Skip to content
Snippets Groups Projects
Commit 709013aa authored by Oliver Sander's avatar Oliver Sander
Browse files

have the program abort upon encountering NaN

[[Imported from SVN: r1451]]
parent 85a303ce
No related branches found
No related tags found
No related merge requests found
......@@ -4,6 +4,9 @@
\brief Unit tests for the different dynamic matrices provided by ISTL
*/
#include "config.h"
#include <fenv.h>
#include <dune/common/fmatrix.hh>
#include <dune/istl/bcrsmatrix.hh>
#include <dune/istl/matrix.hh>
......@@ -276,6 +279,8 @@ void testSolve(const MatrixType& matrix)
int main()
{
feenableexcept(FE_INVALID);
// ////////////////////////////////////////////////////////////
// Test the Matrix class -- a scalar dense dynamic matrix
// ////////////////////////////////////////////////////////////
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment