]> https://gitweb.dealii.org/ - dealii.git/commit
examples/stpe-69: use std::copy_n instead of std::copy 11919/head
authorMatthias Maier <tamiko@43-1.org>
Mon, 15 Mar 2021 22:30:37 +0000 (17:30 -0500)
committerMatthias Maier <tamiko@43-1.org>
Mon, 15 Mar 2021 22:30:37 +0000 (17:30 -0500)
commitf4e30cb140fc617d55478b924ddcc3ae69a4d7cf
treed90664ea1c8d9fea80150edda4871a1346050a5c
parent7e75c8abe91293e2468873d2bc9f8580ab7b852a
examples/stpe-69: use std::copy_n instead of std::copy

A std::copy_n is more more elegant than the std::copy variant that need
to take the address of an element past the momentum.

Thanks to @guermond and @ejtovar for pointing this out.
examples/step-69/step-69.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.