]> https://gitweb.dealii.org/ - dealii.git/commitdiff
astyle
authordanshapero <shapero.daniel@gmail.com>
Thu, 24 Mar 2016 06:19:24 +0000 (23:19 -0700)
committerdanshapero <shapero.daniel@gmail.com>
Thu, 24 Mar 2016 06:19:24 +0000 (23:19 -0700)
tests/lac/sparse_matrix_move.cc

index 6d67eb37085e55d1ee73a79c120aa521d088a836..8652539bd419bf557a7be7afe71a7797aa23b80c 100644 (file)
@@ -22,8 +22,8 @@
 
 //#include <fstream>
 
-void graph_laplacian(const SparsityPatternsparsity,
-                     SparseMatrix<double>matrix)
+void graph_laplacian(const SparsityPattern &sparsity,
+                     SparseMatrix<double> &matrix)
 {
   matrix = 0.0;
 
@@ -38,7 +38,7 @@ void graph_laplacian(const SparsityPattern& sparsity,
 }
 
 
-SparseMatrix<double> graph_laplacian(const SparsityPatternsparsity)
+SparseMatrix<double> graph_laplacian(const SparsityPattern &sparsity)
 {
   SparseMatrix<double> A(sparsity);
   graph_laplacian(sparsity, A);
@@ -48,7 +48,7 @@ SparseMatrix<double> graph_laplacian(const SparsityPattern& sparsity)
 
 
 SparseMatrix<double>
-graph_laplacian_move_return(const SparsityPatternsparsity)
+graph_laplacian_move_return(const SparsityPattern &sparsity)
 {
   SparseMatrix<double> A(sparsity);
   graph_laplacian(sparsity, A);

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.