]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Either make implicit casts from Tensor<1,dim> to Point<dim> explicit, or correct...
authorWolfgang Bangerth <bangerth@math.tamu.edu>
Fri, 6 Feb 2015 03:16:48 +0000 (21:16 -0600)
committerWolfgang Bangerth <bangerth@math.tamu.edu>
Mon, 9 Feb 2015 23:27:15 +0000 (17:27 -0600)
source/fe/fe.cc

index 3d27d7b86145005c6115829210897a1c44d07bf4..199ef6366f612777d06b2513c03d08eefa367cb7 100644 (file)
@@ -1,6 +1,6 @@
 // ---------------------------------------------------------------------
 //
-// Copyright (C) 1998 - 2014 by the deal.II authors
+// Copyright (C) 1998 - 2015 by the deal.II authors
 //
 // This file is part of the deal.II library.
 //
@@ -64,8 +64,8 @@ InternalDataBase::initialize_2nd (const FiniteElement<dim,spacedim> *element,
   differences.resize(2*dim);
   for (unsigned int d=0; d<dim; ++d)
     {
-      Point<dim> shift;
-      shift (d) = fd_step_length;
+      Tensor<1,dim> shift;
+      shift[d] = fd_step_length;
 
       // generate points and FEValues
       // objects shifted in

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.