From efc0d301f56ea9ef97d533176ac17f08e1d38a72 Mon Sep 17 00:00:00 2001 From: wolf 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