From: Wolfgang Bangerth Date: Wed, 27 Jun 2018 23:06:49 +0000 (-0600) Subject: Clarify documentation of Patterns::Integer. X-Git-Tag: v9.1.0-rc1~974^2 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F6852%2Fhead;p=dealii.git Clarify documentation of Patterns::Integer. --- diff --git a/include/deal.II/base/patterns.h b/include/deal.II/base/patterns.h index 4346f16eff..3ae7db4cd8 100644 --- a/include/deal.II/base/patterns.h +++ b/include/deal.II/base/patterns.h @@ -202,6 +202,11 @@ namespace Patterns * lower bound, then the entire set of integers is implied. The * default values are chosen such that no bounds are enforced on * parameters. + * + * Note that the range implied by an object of the current type + * is inclusive of both bounds values, i.e., the @p upper_bound is + * an allowed value, rather than indicating a half-open value as + * is often done in other contexts. */ Integer(const int lower_bound = min_int_value, const int upper_bound = max_int_value);