Skip to content
Snippets Groups Projects
Commit 0fa5d2dd authored by Christoph Grüninger's avatar Christoph Grüninger
Browse files

[test] Print block size BS instead of static 1

parent b4ab6002
No related branches found
No related tags found
1 merge request!571Fix more Cppcheck findings
Pipeline #72603 passed
......@@ -121,7 +121,7 @@ int main(int argc, char** argv)
if (argc > 1)
N = atoi(argv[1]);
std::cout<<"testing for N="<<N<<" BS="<<1<<std::endl;
std::cout << "testing for N=" << N << " BS=" << BS << std::endl;
typedef Dune::FieldMatrix<FIELD_TYPE,BS,BS> MatrixBlock;
typedef Dune::BCRSMatrix<MatrixBlock> BCRSMat;
......
......@@ -18,7 +18,7 @@ int main(int argc, char** argv)
if(argc>1)
N = atoi(argv[1]);
std::cout<<"testing for N="<<N<<" BS="<<1<<std::endl;
std::cout << "testing for N=" << N << " BS=" << BS << std::endl;
typedef Dune::FieldMatrix<double,BS,BS> MatrixBlock;
typedef Dune::BCRSMatrix<MatrixBlock> BCRSMat;
......
......@@ -141,7 +141,7 @@ int main(int argc, char** argv)
if(argc>1)
N = atoi(argv[1]);
std::cout<<"testing for N="<<N<<" BS="<<1<<std::endl;
std::cout << "testing for N=" << N << " BS=" << BS << std::endl;
// Test scalar matrices and vectors
int ret = testMatrixMarket<Dune::BCRSMatrix<double>, Dune::BlockVector<double> >(N);
......
......@@ -17,7 +17,7 @@ int main(int argc, char** argv)
if(argc>1)
N = atoi(argv[1]);
std::cout<<"testing for N="<<N<<" BS="<<1<<std::endl;
std::cout << "testing for N=" << N << " BS=" << BS << std::endl;
typedef Dune::FieldMatrix<double,BS,BS> MatrixBlock;
......
......@@ -59,7 +59,7 @@ int main(int argc, char** argv)
if(argc>1)
N = atoi(argv[1]);
std::cout<<"testing for N="<<N<<" BS="<<1<<std::endl;
std::cout << "testing for N=" << N << " BS=" << BS << std::endl;
typedef Dune::FieldMatrix<double,BS,BS> MatrixBlock;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment