From: Pasquale Africa Date: Thu, 3 Dec 2020 11:40:43 +0000 (+0000) Subject: Fix AD doc typos X-Git-Tag: v9.3.0-rc1~810^2 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a1532359dd7d126302a636efa527ce4d425be94f;p=dealii.git Fix AD doc typos --- diff --git a/include/deal.II/differentiation/ad/ad_helpers.h b/include/deal.II/differentiation/ad/ad_helpers.h index c93d968c8f..6ccf66bdd7 100644 --- a/include/deal.II/differentiation/ad/ad_helpers.h +++ b/include/deal.II/differentiation/ad/ad_helpers.h @@ -1412,9 +1412,7 @@ namespace Differentiation * ad_helper.register_dof_values(solution, local_dof_indices); * * // Then we get the complete set of degree of freedom values as - * // represented by auto-differentiable numbers. The operations - * // performed with these variables are tracked by the AD library - * // from this point until stop_recording_operations() is called. + * // represented by auto-differentiable numbers. * const std::vector dof_values_ad * = ad_helper.get_sensitive_dof_values(); * @@ -3013,7 +3011,7 @@ namespace Differentiation * 0.5*mu_0*mu_r*J*H_AD*C_inv_AD*H_AD; * * // Register the definition of the total stored energy - * ad_helper.register_dependent_variable(psi_CH); + * ad_helper.register_dependent_variable(psi); * * // Indicate that we have completed tracing the operations onto * // the tape.