From 5bc0fbc6385a9a1167d5b85855963e3e461e97ca Mon Sep 17 00:00:00 2001 From: Wolfgang Bangerth Date: Thu, 15 Apr 2004 23:24:02 +0000 Subject: [PATCH] . git-svn-id: https://svn.dealii.org/trunk@9025 0785d39b-7218-0410-832d-ea1e28bc413d --- deal.II/examples/step-15/step-15.cc | 9 +++++++++ 1 file changed, 9 insertions(+) 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 () { -- 2.39.5