From: Wolfgang Bangerth Date: Fri, 24 Feb 2006 15:45:40 +0000 (+0000) Subject: Simplify code. X-Git-Tag: v8.0.0~12192 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d257aa47df1f5ea8430460a454357f0d73c934d9;p=dealii.git Simplify code. git-svn-id: https://svn.dealii.org/trunk@12490 0785d39b-7218-0410-832d-ea1e28bc413d --- diff --git a/tests/hp/crash_01.cc b/tests/hp/crash_01.cc index 3c81ab1c39..4c1b796577 100644 --- a/tests/hp/crash_01.cc +++ b/tests/hp/crash_01.cc @@ -35,8 +35,7 @@ void test () Triangulation tria; GridGenerator::hyper_cube(tria); - hp::FECollection fe_collection; - fe_collection.push_back (FE_DGQ (1)); + const hp::FECollection fe_collection (FE_DGQ (1)); hp::DoFHandler dof_handler(tria); tria.refine_global(1);