From: kronbichler Date: Fri, 25 Jan 2013 07:23:41 +0000 (+0000) Subject: Make compile without P4EST X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6f3c7173877860362dfefa581e7461268ae3b900;p=dealii-svn.git Make compile without P4EST git-svn-id: https://svn.dealii.org/trunk@28171 0785d39b-7218-0410-832d-ea1e28bc413d --- diff --git a/deal.II/source/dofs/dof_tools.cc b/deal.II/source/dofs/dof_tools.cc index b5267c426f..38b166525c 100644 --- a/deal.II/source/dofs/dof_tools.cc +++ b/deal.II/source/dofs/dof_tools.cc @@ -1,5 +1,5 @@ //--------------------------------------------------------------------------- -// $Id:$ +// $Id$ // Version: $Name$ // // Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013 by the deal.II authors @@ -3008,7 +3008,7 @@ namespace DoFTools Assert (0<=direction && direction PTRIA; @@ -3100,7 +3100,7 @@ namespace DoFTools Assert(dim == space_dim, ExcNotImplemented()); -#ifdef DEBUG +#if defined(DEBUG) && defined(DEAL_II_USE_P4EST) // Check whether we run on a non parallel mesh or on a // parallel::distributed::Triangulation in serial typedef typename parallel::distributed::Triangulation PTRIA;