]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Avoid the use of deprecated functions.
authorWolfgang Bangerth <bangerth@math.tamu.edu>
Wed, 8 Apr 2015 15:57:16 +0000 (10:57 -0500)
committerWolfgang Bangerth <bangerth@math.tamu.edu>
Wed, 8 Apr 2015 15:57:16 +0000 (10:57 -0500)
include/deal.II/lac/block_sparse_matrix_ez.h

index 4062b074aa7814d6da49965483b03a9d8f54b854..27b2069207045137e2fc427c7889a49462aedf71 100644 (file)
@@ -336,7 +336,7 @@ inline
 typename BlockSparseMatrixEZ<Number>::size_type
 BlockSparseMatrixEZ<Number>::m () const
 {
-  return n_rows();
+  return row_indices.total_size();
 }
 
 
@@ -346,7 +346,7 @@ inline
 typename BlockSparseMatrixEZ<Number>::size_type
 BlockSparseMatrixEZ<Number>::n () const
 {
-  return n_cols();
+  return column_indices.total_size();
 }
 
 

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.