]> https://gitweb.dealii.org/ - dealii.git/commit
Test fe/fe_values_view_{07|10|13|16}: make Assert more robust 16849/head
authorMatthias Maier <tamiko@43-1.org>
Fri, 5 Apr 2024 03:19:25 +0000 (22:19 -0500)
committerMatthias Maier <tamiko@43-1.org>
Fri, 5 Apr 2024 03:19:25 +0000 (22:19 -0500)
commitbd9856e96a738706722ef7438ed6d78f4fdb42a1
treead28c0668d5e4bea1be96b760b2ec01d0b67438b
parent809ce962656fa9219c42eaaa804ea1f909dd2543
Test fe/fe_values_view_{07|10|13|16}: make Assert more robust

The Assert checks that we computed with a relative error of less than
1e-12. This fails however, if the vector in question is 0. Thus, also
check for an absolute error.
tests/fe/fe_values_view_07.cc
tests/fe/fe_values_view_10.cc
tests/fe/fe_values_view_13.cc
tests/fe/fe_values_view_16.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.