]> https://gitweb.dealii.org/ - dealii.git/commit
Fix a warning about undefined behavior. 101/head
authorWolfgang Bangerth <bangerth@math.tamu.edu>
Wed, 20 Aug 2014 18:54:05 +0000 (13:54 -0500)
committerWolfgang Bangerth <bangerth@math.tamu.edu>
Wed, 20 Aug 2014 18:54:05 +0000 (13:54 -0500)
commit9b9d00be1032736797c78b91c1d2694ecdb93262
treedd3cd3f65599dacd2573d05a06c185e5ffedf8c0
parent9080740c5b4245ab1f16345b0d7e29531d197bdf
Fix a warning about undefined behavior.

I get an error of the form
  /u/bangerth/p/deal.II/1/dealii/include/deal.II/meshworker/dof_info.h:69:9: runtime error: load of value 216, which is not a valid value for type 'bool'
when running the testsuite with the ASAN framework. This is caused by the DoFInfo
class having a member variable that is left uninitialized in the constructor.
Fix this.
include/deal.II/meshworker/dof_info.h
include/deal.II/meshworker/dof_info.templates.h

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.