]> https://gitweb.dealii.org/ - dealii.git/commitdiff
define MatrixBlock::value_type
authorDenis Davydov <davydden@gmail.com>
Tue, 16 Jun 2015 21:17:28 +0000 (23:17 +0200)
committerWolfgang Bangerth <bangerth@math.tamu.edu>
Wed, 17 Jun 2015 19:33:34 +0000 (14:33 -0500)
include/deal.II/lac/matrix_block.h

index 0c76be50ed0bb2781d6dbbce48d760a907e61e14..0dd8bed917c62d14c63423f2a84f126193fe9dba 100644 (file)
@@ -110,6 +110,11 @@ public:
    */
   typedef types::global_dof_index size_type;
 
+  /**
+   * Declare a type for matrix entries.
+   */
+  typedef typename MATRIX::value_type value_type;
+
   /**
    * Constructor rendering an uninitialized object.
    */

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.