]> https://gitweb.dealii.org/ - dealii.git/commit
fix tests/sundials/kinsol_08 warning 17224/head
authorTimo Heister <timo.heister@gmail.com>
Mon, 8 Jul 2024 12:10:48 +0000 (08:10 -0400)
committerTimo Heister <timo.heister@gmail.com>
Mon, 8 Jul 2024 12:10:48 +0000 (08:10 -0400)
commita3e1e378a10dbf33f606f1b0e4017aad5c3a2518
tree40061f20d709a81e6ddb6de2d4a4f63150db50b7
parentcb6a4f457f57d1b8a04774c85a91a297bd9ab22e
fix tests/sundials/kinsol_08 warning

I don't quite know why clang 18 complains
/srv/temp/testsuite-rKmw5ZRc/dealii/tests/sundials/kinsol_08.cc:67:27:
warning: lambda capture 'N' is not required to be captured for this use
[-Wunused-lambda-capture]
   67 |   kinsol.reinit_vector = [N](VectorType &v) { v.reinit(N); };
but this fixes it
tests/sundials/kinsol_08.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.