From 14840a3299ad3bfb9567c9ed561c5faa5892a3d7 Mon Sep 17 00:00:00 2001 From: maxnezddyur <maxnezdyur@gmail.com> Date: Mon, 6 Jan 2025 05:13:11 -0700 Subject: [PATCH] address review comments --- modules/optimization/src/executioners/AdjointSolve.C | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/modules/optimization/src/executioners/AdjointSolve.C b/modules/optimization/src/executioners/AdjointSolve.C index 1eced7993800..c8d65f89dcf1 100644 --- a/modules/optimization/src/executioners/AdjointSolve.C +++ b/modules/optimization/src/executioners/AdjointSolve.C @@ -53,12 +53,12 @@ AdjointSolve::AdjointSolve(Executioner & ex) paramError("forward_system", "Forward system does not appear to be a 'NonlinearSystem'."); if (!dynamic_cast<NonlinearSystem *>(&_nl_adjoint)) paramError("adjoint_system", "Adjoint system does not appear to be a 'NonlinearSystem'."); - // Adjoint system should never perform it's own automatic scaling. Scaling is - // taken from the forward system + // Adjoint system should never perform its own automatic scaling. Scaling factors from the forward + // system are applied. _nl_adjoint.automaticScaling(false); // We need to force the forward system to have a scaling vector. This is - // incase a user provides scaling for an individual variables but doesn't have any + // in case a user provides scaling for an individual variables but doesn't have any // AD objects. _nl_forward.addScalingVector(); }