]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Minor simplifications.
authorWolfgang Bangerth <bangerth@math.tamu.edu>
Tue, 5 Jun 2012 10:31:53 +0000 (10:31 +0000)
committerWolfgang Bangerth <bangerth@math.tamu.edu>
Tue, 5 Jun 2012 10:31:53 +0000 (10:31 +0000)
git-svn-id: https://svn.dealii.org/trunk@25602 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/source/fe/mapping_q1.cc

index df8157df3486354d9f25750237bf9db5dc4949fe..cb8f8106cc9c565b28bd4181c9a8f090bbd8264f 100644 (file)
@@ -1746,10 +1746,7 @@ transform_real_to_unit_cell_internal
 
                                        // Solve  [f'(x)]d=f(x)
       Tensor<1,spacedim> d;
-      Tensor<2,spacedim> df_1;
-
-      df_1 = invert(df);
-      contract (d, df_1, static_cast<const Tensor<1,spacedim>&>(f));
+      contract (d, invert(df), static_cast<const Tensor<1,spacedim>&>(f));
 
                                        // update of p_unit. The
                                        // spacedimth component of

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.