]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Cosmetic change: Use member initializer list
authorMatthias Maier <tamiko@43-1.org>
Mon, 7 Sep 2015 18:38:50 +0000 (13:38 -0500)
committerMatthias Maier <tamiko@43-1.org>
Mon, 7 Sep 2015 18:38:50 +0000 (13:38 -0500)
include/deal.II/base/tensor.h

index 41414649bc8dfbd20af3a556668144437d9c70d8..29b179ded475a55deed95fd15ade7fd0206cac57 100644 (file)
@@ -600,8 +600,8 @@ private:
 template <int dim,typename Number>
 inline
 Tensor<0,dim,Number>::Tensor ()
+  : value()
 {
-  value = value_type();
 }
 
 

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.