]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
Help xlC at one point a little.
authorwolf <wolf@0785d39b-7218-0410-832d-ea1e28bc413d>
Fri, 7 Mar 2003 20:35:41 +0000 (20:35 +0000)
committerwolf <wolf@0785d39b-7218-0410-832d-ea1e28bc413d>
Fri, 7 Mar 2003 20:35:41 +0000 (20:35 +0000)
git-svn-id: https://svn.dealii.org/trunk@7280 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/deal.II/source/fe/mapping_q1.cc

index 0987f78500a449c414f76bfa580624d67336854e..1fafea274b9af9faa00dc9f9c5ecbf02cebdf302 100644 (file)
@@ -1011,11 +1011,11 @@ void MappingQ1<dim>::transform_real_to_unit_cell_internal (
        }
       
                                       // Solve  [f'(x)]d=f(x)
-      Point<dim> d;
+      Tensor<1,dim> d;
       Tensor<2,dim> df_1;
 
       df_1 = invert(df);
-      contract (d, df_1, f);
+      contract (d, df_1, static_cast<const Tensor<1,dim>&>(f));
 
                                       // update of p_unit
       p_unit -= d;

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.