]> https://gitweb.dealii.org/ - dealii.git/commitdiff
fix compilation 7513/head
authorMatthias Maier <tamiko@43-1.org>
Tue, 12 May 2020 04:48:13 +0000 (23:48 -0500)
committerMarc Fehling <marc.fehling@gmx.net>
Tue, 12 May 2020 14:03:33 +0000 (16:03 +0200)
include/deal.II/fe/fe_series.h

index 6a76cf24d815a1aae5162571790023a925b9322e..05c56640c151f0348bc609d21ca8421c6c4e2222 100644 (file)
@@ -612,10 +612,10 @@ FESeries::Fourier<dim, spacedim>::save_transformation_matrices(
     ar &(*fe_collection)[i].get_name();
 
   // quadrature collection
-  size = q_collection->size();
+  size = q_collection.size();
   ar &size;
   for (unsigned int i = 0; i < size; ++i)
-    ar &(*q_collection)[i];
+    ar &q_collection[i];
 
   // Store the actual transform matrices.
   ar &fourier_transform_matrices;
@@ -655,12 +655,12 @@ FESeries::Fourier<dim, spacedim>::load_transformation_matrices(
 
   // quadrature collection
   ar &size;
-  AssertDimension(size, q_collection->size());
+  AssertDimension(size, q_collection.size());
   Quadrature<dim> quadrature;
   for (unsigned int i = 0; i < size; ++i)
     {
       ar &quadrature;
-      Assert(quadrature == (*q_collection)[i],
+      Assert(quadrature == q_collection[i],
              ExcMessage("A different QCollection has been used to generate "
                         "the transformation matrices you are about to load!"));
     }
@@ -690,10 +690,10 @@ FESeries::Legendre<dim, spacedim>::save_transformation_matrices(
     ar &(*fe_collection)[i].get_name();
 
   // quadrature collection
-  size = q_collection->size();
+  size = q_collection.size();
   ar &size;
   for (unsigned int i = 0; i < size; ++i)
-    ar &(*q_collection)[i];
+    ar &q_collection[i];
 
   // Store the actual transform matrices.
   ar &legendre_transform_matrices;
@@ -733,12 +733,12 @@ FESeries::Legendre<dim, spacedim>::load_transformation_matrices(
 
   // quadrature collection
   ar &size;
-  AssertDimension(size, q_collection->size());
+  AssertDimension(size, q_collection.size());
   Quadrature<dim> quadrature;
   for (unsigned int i = 0; i < size; ++i)
     {
       ar &quadrature;
-      Assert(quadrature == (*q_collection)[i],
+      Assert(quadrature == q_collection[i],
              ExcMessage("A different QCollection has been used to generate "
                         "the transformation matrices you are about to load!"));
     }

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.