]> https://gitweb.dealii.org/ - dealii.git/commit
Let GrowingVectorMemory work with std::vector. 5628/head
authorDavid Wells <wellsd2@rpi.edu>
Fri, 15 Dec 2017 15:53:07 +0000 (10:53 -0500)
committerDavid Wells <wellsd2@rpi.edu>
Fri, 15 Dec 2017 15:53:07 +0000 (10:53 -0500)
commite1d6582cdb0e185a64272a098511701578d86b5b
tree9d42ea32f04d0066bdb980b39cb4607107c9da66
parent99e16c235ba4579de45c6cfe9b147ddcf5f25ae2
Let GrowingVectorMemory work with std::vector.

The VectorType class in

std::pair<bool, std::unique_ptr<VectorType>>

may not have a memory_consumption() member function (e.g.,
std::vector). Get around this by just using the free function instead.
include/deal.II/lac/vector_memory.templates.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.