]> https://gitweb.dealii.org/ - dealii.git/commit
make AdditionalData ctor explicit 1572/head
authorTimo Heister <timo.heister@gmail.com>
Thu, 10 Sep 2015 01:08:45 +0000 (21:08 -0400)
committerTimo Heister <timo.heister@gmail.com>
Thu, 10 Sep 2015 01:08:45 +0000 (21:08 -0400)
commite29b17798f018343ed99257101b846798cab88ae
tree24641181b2ea62344aac469d2c4e767824a29d15
parent17a7d73b4efc915a533a697227e938d1a235f249
make AdditionalData ctor explicit

Constructors of AdditionalData in various linear solvers are now marked
explicit. This is to avoid implicit conversions from int. See #1571 for an
example where an MPI communiator (which is an int) is silently converted
because of the default values in AdditionalData.
include/deal.II/lac/petsc_solver.h
include/deal.II/lac/solver_bicgstab.h
include/deal.II/lac/solver_cg.h
include/deal.II/lac/solver_gmres.h
include/deal.II/lac/solver_qmrs.h
include/deal.II/lac/solver_richardson.h
include/deal.II/lac/trilinos_solver.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.