From 5360eafe331c917c7f7938c368d8301cf2b04932 Mon Sep 17 00:00:00 2001
From: Markus Blatt <markus@dr-blatt.de>
Date: Wed, 4 Jun 2014 09:00:08 +0000
Subject: [PATCH] Fixed test whether either ALUGrid or UG is there

Use the correct macro for UG, which is HAVE_UG.
Use logical instead of bitwise or when checking whether either ALUGrid
or UG is there.


git-svn-id: svn://svn.iws.uni-stuttgart.de/DUMUX/dumux/branches/strip-pdelab@12933 2fb0f335-1f38-0410-981e-8018bf24f1b0
---
 test/decoupled/1p/test_diffusionproblem3d.hh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/test/decoupled/1p/test_diffusionproblem3d.hh b/test/decoupled/1p/test_diffusionproblem3d.hh
index c69443c775..f0b72f0940 100644
--- a/test/decoupled/1p/test_diffusionproblem3d.hh
+++ b/test/decoupled/1p/test_diffusionproblem3d.hh
@@ -22,7 +22,7 @@
 #ifndef DUMUX_TEST_DIFFUSION_3D_PROBLEM_HH
 #define DUMUX_TEST_DIFFUSION_3D_PROBLEM_HH
 
-#if HAVE_ALUGRID | HAVE_UGGRID
+#if HAVE_ALUGRID || HAVE_UG
 
 #include <dune/grid/alugrid/3d/alugrid.hh>
 #include <dune/grid/uggrid.hh>
-- 
GitLab