From 763fb52a7dfcc7390ddd5eed0e11c845d44b83fc Mon Sep 17 00:00:00 2001 From: bangerth Date: Sun, 18 Apr 2010 22:23:02 +0000 Subject: [PATCH] Avoid confusing xlC by being overly complicated. git-svn-id: https://svn.dealii.org/trunk@21004 0785d39b-7218-0410-832d-ea1e28bc413d --- deal.II/base/source/geometry_info.cc | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/deal.II/base/source/geometry_info.cc b/deal.II/base/source/geometry_info.cc index d74c97cdf7..6c6e38b39c 100644 --- a/deal.II/base/source/geometry_info.cc +++ b/deal.II/base/source/geometry_info.cc @@ -2,7 +2,7 @@ // $Id$ // Version: $Name$ // -// Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 by the deal.II authors +// Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 by the deal.II authors // // This file is subject to QPL and may not be distributed // without copyright and license information. Please refer @@ -1747,10 +1747,10 @@ GeometryInfo<1>:: alternating_form_at_vertices #ifndef DEAL_II_ARRAY_ARG_BUG (const Point<1> (&vertices)[vertices_per_cell], - Tensor<1-1,1> (&forms)[vertices_per_cell]) + Tensor<0,1> (&forms)[vertices_per_cell]) #else (const Point<1> *vertices, - Tensor<1-1,1> *forms) + Tensor<0,1> *forms) #endif ; @@ -1760,10 +1760,10 @@ GeometryInfo<1>:: alternating_form_at_vertices #ifndef DEAL_II_ARRAY_ARG_BUG (const Point<2> (&vertices)[vertices_per_cell], - Tensor<2-1,2> (&forms)[vertices_per_cell]) + Tensor<1,2> (&forms)[vertices_per_cell]) #else (const Point<2> *vertices, - Tensor<2-1,2> *forms) + Tensor<1,2> *forms) #endif ; @@ -1773,10 +1773,10 @@ GeometryInfo<2>:: alternating_form_at_vertices #ifndef DEAL_II_ARRAY_ARG_BUG (const Point<2> (&vertices)[vertices_per_cell], - Tensor<2-2,2> (&forms)[vertices_per_cell]) + Tensor<0,2> (&forms)[vertices_per_cell]) #else (const Point<2> *vertices, - Tensor<2-2,2> *forms) + Tensor<0,2> *forms) #endif ; @@ -1786,10 +1786,10 @@ GeometryInfo<2>:: alternating_form_at_vertices #ifndef DEAL_II_ARRAY_ARG_BUG (const Point<3> (&vertices)[vertices_per_cell], - Tensor<3-2,3> (&forms)[vertices_per_cell]) + Tensor<1,3> (&forms)[vertices_per_cell]) #else (const Point<3> *vertices, - Tensor<3-2,3> *forms) + Tensor<1,3> *forms) #endif ; @@ -1800,10 +1800,10 @@ GeometryInfo<3>:: alternating_form_at_vertices #ifndef DEAL_II_ARRAY_ARG_BUG (const Point<3> (&vertices)[vertices_per_cell], - Tensor<3-3,3> (&forms)[vertices_per_cell]) + Tensor<0,3> (&forms)[vertices_per_cell]) #else (const Point<3> *vertices, - Tensor<3-3,3> *forms) + Tensor<0,3> *forms) #endif ; -- 2.39.5