]> https://gitweb.dealii.org/ - dealii.git/commit
Fix a warning. 2009/head
authorWolfgang Bangerth <bangerth@math.tamu.edu>
Tue, 22 Dec 2015 15:45:58 +0000 (09:45 -0600)
committerWolfgang Bangerth <bangerth@math.tamu.edu>
Tue, 22 Dec 2015 15:45:58 +0000 (09:45 -0600)
commit0c068cb69ed2b0d7d9c09965ee231fbec5a36a04
tree3fe2298285388608464beab3d67b04e8a475ada7
parent1a4adcd92686a5b97b15acbe89abf9a92e3ce781
Fix a warning.

GeometryInfo<dim>::lines_per_face is zero in 1d and 2d, so the comparison
  e<GeometryInfo<dim>::lines_per_face
is always false (as expected and intended) but the compiler warns about
this. Work around this by using signed integers.
source/grid/grid_tools.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.