]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Minor style edits
authorJonathan Robey <class4kayaker@gmail.com>
Wed, 7 Aug 2019 00:36:49 +0000 (18:36 -0600)
committerJonathan Robey <class4kayaker@gmail.com>
Wed, 7 Aug 2019 00:36:49 +0000 (18:36 -0600)
doc/news/changes/minor/20190806JonathanRobey
include/deal.II/lac/block_matrix_base.h
tests/lac/block_matrices_05.cc

index bbe0ac92c086c4f1ec9472dc66dbacff0529c686..adebcbf000eb1869594be079849c7ba1e896b4f4 100644 (file)
@@ -1,2 +1,2 @@
-New: Added frobenius_norm method to BlockMatrixBase
+New: Added frobenius_norm method to BlockMatrixBase.
 (Jonathan Robey, 2019/08/06)
index ce2649802f9e8db975fbc2702dbd047c176cf48c..86b97c4063157800128772af729bd50d1d4d0c29 100644 (file)
@@ -2414,7 +2414,6 @@ BlockMatrixBase<MatrixType>::frobenius_norm() const
 {
   value_type norm_sqr = 0;
 
-
   // For each block, get the Frobenius norm, and add the square to the
   // accumulator for the full matrix
   for (unsigned int row = 0; row < n_block_rows(); ++row)
index d85fd20551227a1600e8c664f0849aef217e87cb..f476368772d5e0478992efd931f10ba9b3b45d40 100644 (file)
@@ -15,7 +15,7 @@
 
 
 // Test that the frobenius_norm function returns the correct value
-// for a block matrix
+// for a block matrix.
 
 
 #include <deal.II/lac/block_sparse_matrix.h>
 int
 main()
 {
-  std::ofstream logfile("output");
-  deallog << std::fixed;
-  deallog << std::setprecision(2);
-  deallog.attach(logfile);
+  initlog();
 
   BlockSparsityPattern bsp(2, 2);
   // set sizes
@@ -65,7 +62,6 @@ main()
          ExcInternalError());
 
   deallog << "OK" << std::endl;
-  deallog << std::flush;
 
   return 0;
 }

In the beginning the Universe was created. This has made a lot of people very angry and has been widely regarded as a bad move.

Douglas Adams


Typeset in Trocchi and Trocchi Bold Sans Serif.