From 0d5e45fac0e623bb7a2741c13e002c4afb557cec Mon Sep 17 00:00:00 2001 From: Matthias Maier Date: Mon, 13 Apr 2015 19:35:49 +0200 Subject: [PATCH] Rename 'exemplar' to 'reinit_vector' --- include/deal.II/lac/linear_operator.h | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/include/deal.II/lac/linear_operator.h b/include/deal.II/lac/linear_operator.h index f7dc617b62..c83813aa9f 100644 --- a/include/deal.II/lac/linear_operator.h +++ b/include/deal.II/lac/linear_operator.h @@ -511,18 +511,19 @@ transpose_linop(const LinearOperator &op) * Returns a LinearOperator that is the identity of the vector space * @tref Range. * - * The function takes an std::function object @ref exemplar as - * an argument to initialize the reinit_range_vector and - * reinit_domain_vector objects of the LinearOperator object. + * The function takes an std::function object @ref + * reinit_vector as an argument to initialize the + * reinit_range_vector and reinit_domain_vector + * objects of the LinearOperator object. */ template LinearOperator -identity_linop(const std::function &exemplar) +identity_linop(const std::function &reinit_vector) { LinearOperator return_op; - return_op.reinit_range_vector = exemplar; - return_op.reinit_domain_vector = exemplar; + return_op.reinit_range_vector = reinit_vector; + return_op.reinit_domain_vector = reinit_vector; return_op.vmult = [](Range &v, const Range &u) { -- 2.39.5