From 49bbdda199cfc803a52b5c23137cc08bbb1c9ca9 Mon Sep 17 00:00:00 2001 From: Rene Milk <rene.milk@uni-muenster.de> Date: Sun, 18 Dec 2011 22:07:58 +0100 Subject: [PATCH] temp dsiable somematrix stuff --- stuff/printing.hh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/stuff/printing.hh b/stuff/printing.hh index c5714f2a6..c2d64c0a9 100644 --- a/stuff/printing.hh +++ b/stuff/printing.hh @@ -9,6 +9,7 @@ #include <boost/format.hpp> #include <dune/stuff/functions.hh> #include <dune/stuff/parametercontainer.hh> +#include <dune/istl/bcrsmatrix.hh> namespace Stuff { @@ -327,7 +328,8 @@ void matrixToGnuplotStream(const Matrix& matrix, Stream& stream) for (size_t row = 0; row < matrix.rows(); ++row) { for (size_t col = 0; col < matrix.cols(); ++col) { if (matrix.find(row, col)) - stream << row << "\t" << col << "\t" << matrix(row, col) << std::endl; + assert(false); + // stream << row << "\t" << col << "\t" << matrix( row, col ) << std::endl; } nz += matrix.numNonZeros(row); stream << "#non zeros in row " << row << " " << matrix.numNonZeros(row) << " (of " << matrix.cols() << " cols)\n"; -- GitLab