]> https://gitweb.dealii.org/ - dealii.git/commit
Fix an array initialization. 8071/head
authorDavid Wells <drwells@email.unc.edu>
Fri, 10 May 2019 15:27:10 +0000 (11:27 -0400)
committerDavid Wells <drwells@email.unc.edu>
Fri, 10 May 2019 15:27:10 +0000 (11:27 -0400)
commitdb13ce131839ed4b9d89684ff55bf802afbc731b
treecaab6d2c1c4d89454c62e0da834208550018f9d2
parentca3eac39f9b36b899aee9a6621f75addc7f9a98f
Fix an array initialization.

GCC 4.8 complains about the brace initialization:

./source/grid/manifold_lib.cc:1804:75:
warning: missing initializer for member 'std::array<double, 12ul>::_M_elems'
[-Wmissing-field-initializers]
         std::array<double, GeometryInfo<3>::lines_per_cell> weights_lines{};
                                                                           ^

so be safe and initalize explicitly with fill.
source/grid/manifold_lib.cc

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.