]> https://gitweb.dealii.org/ - dealii.git/commit
Use the same type for a non-type template argument in declaration/definition. 2864/head
authorWolfgang Bangerth <bangerth@math.tamu.edu>
Mon, 25 Jul 2016 20:47:08 +0000 (15:47 -0500)
committerWolfgang Bangerth <bangerth@math.tamu.edu>
Mon, 25 Jul 2016 20:47:08 +0000 (15:47 -0500)
commit094d5aa9867a8f1f0c6a6713f1bb619545136088
tree032f3d0f4c21c2b4656057e2f9ef1b5ecbcb4608
parent8954895255cb4cc5e328583c3a284a2fefe9b886
Use the same type for a non-type template argument in declaration/definition.

We previously had used 'int' in the declaration but 'std::size_t' in the definition of the
MemoryConsumption::memory_consumption(std_cxx::array) function. The latter is the type
the C++ standard says 'std::array' should take for its size, so be consistent about this.
include/deal.II/base/memory_consumption.h

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.