]> https://gitweb.dealii.org/ - dealii.git/commit
Simplify the code that leads to an assertion. 12394/head
authorWolfgang Bangerth <bangerth@colostate.edu>
Mon, 7 Jun 2021 15:38:28 +0000 (09:38 -0600)
committerWolfgang Bangerth <bangerth@colostate.edu>
Mon, 7 Jun 2021 17:06:22 +0000 (11:06 -0600)
commit7ecec249bbbc6ca1751e82062153ffc096ef7d3d
treedc72672fe422d77730eb02d9832035b740589af5
parent991518bd71b83a45daa28c15000897c5aef420e1
Simplify the code that leads to an assertion.

We convert integers to doubles so that we can run MPI::MinMaxAvg and then compare
the min against the max. We do this comparison with a tolerance, but that is
unnecessary: If the integer representations are the same, then so are the
floating point representations, bit-by-bit.
source/lac/trilinos_vector.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.