Skip to content

#1124 test/refinedp1test fails to compile with clang after r1066

Metadata

Property Value
Reported by Elias Pipping (elias.pipping@fu-berlin.de)
Reported at Jun 6, 2012 09:51
Type Bug Report
Version Git (pre2.4) [autotools]
Operating System Unspecified / All
Last edited by Christoph Grüninger (gruenich@iws.uni-stuttgart.de)
Last edited at Jun 6, 2012 11:40
Closed by Christoph Grüninger (gruenich@iws.uni-stuttgart.de)
Closed at Jun 6, 2012 11:40
Closed in version Unknown
Resolution Fixed
Comment Fixed in r1067. Thanks for the patch.

Description

/home/cocktail/pipping/dune-git-svn/dune-localfunctions/dune/localfunctions/test/refinedp1test.cc:27:50: error: expected a class or namespace typedef typename Dune::ALUGrid<dim,dim,Dune::ALUGridElementType::simplex,

Here's a fix -- It replaces

Dune::ALUGrid<dim,dim,Dune::ALUGridElementType::simplex, Dune::ALUGridRefinementType::nonconforming>

with

Dune::ALUGrid<dim,dim,Dune::simplex, Dune::nonconforming>

I can't really claim to know what I'm doing but from a quick glance at dune/grid/alugrid/2d/alu2dgridfactory.cc which uses

Dune::ALUGrid< 2, 2, Dune::simplex, Dune::conforming, Dune::No_Comm >

as well, this might just make sense.

Attachments