]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Add a default value for component in Bessel1::value.
authorDavid Wells <drwells@email.unc.edu>
Sat, 28 Jul 2018 17:45:32 +0000 (13:45 -0400)
committerDavid Wells <drwells@email.unc.edu>
Sat, 28 Jul 2018 18:05:38 +0000 (14:05 -0400)
include/deal.II/base/function_bessel.h

index 275117280b5958d862edd33dd94d917d1a410301..933a942c8506374d7a294d3c470eb2da3acbfcc9 100644 (file)
@@ -41,7 +41,7 @@ namespace Functions
             const Point<dim>   center = Point<dim>());
     virtual double
     value(const Point<dim> & points,
-          const unsigned int component) const override;
+          const unsigned int component = 0) const override;
     virtual void
     value_list(const std::vector<Point<dim>> &points,
                std::vector<double> &          values,

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.