From: Wolfgang Bangerth Date: Thu, 15 Apr 2004 23:24:02 +0000 (+0000) Subject: . X-Git-Tag: v8.0.0~15324 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5bc0fbc6385a9a1167d5b85855963e3e461e97ca;p=dealii.git . git-svn-id: https://svn.dealii.org/trunk@9025 0785d39b-7218-0410-832d-ea1e28bc413d --- diff --git a/deal.II/examples/step-15/step-15.cc b/deal.II/examples/step-15/step-15.cc index d43e517157..02248f366b 100644 --- a/deal.II/examples/step-15/step-15.cc +++ b/deal.II/examples/step-15/step-15.cc @@ -252,6 +252,15 @@ MinimizationProblem::MinimizationProblem (const unsigned int run_number) // then only seek updates to this function // with zero boundary values, so that the // boundary values are always correct. + // + // Note how we have specialized this function + // to 1d only. We do this since the second + // part of the function, where we deal with + // boundary values, is only correct if we are + // in 1d. Not generating a general template + // for this function prevents the compiler + // from erroneously compiling this function + // for other space dimensions, then. template <> void MinimizationProblem<1>::initialize_solution () {