From: Matthias Maier Date: Tue, 12 May 2020 04:48:13 +0000 (-0500) Subject: fix compilation X-Git-Tag: v9.2.0-rc1~12^2 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F7513%2Fhead;p=dealii.git fix compilation --- diff --git a/include/deal.II/fe/fe_series.h b/include/deal.II/fe/fe_series.h index 6a76cf24d8..05c56640c1 100644 --- a/include/deal.II/fe/fe_series.h +++ b/include/deal.II/fe/fe_series.h @@ -612,10 +612,10 @@ FESeries::Fourier::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::load_transformation_matrices( // quadrature collection ar &size; - AssertDimension(size, q_collection->size()); + AssertDimension(size, q_collection.size()); Quadrature 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::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::load_transformation_matrices( // quadrature collection ar &size; - AssertDimension(size, q_collection->size()); + AssertDimension(size, q_collection.size()); Quadrature 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!")); }