Skip to content
Snippets Groups Projects
Commit 35b74bcb authored by Oliver Sander's avatar Oliver Sander Committed by sander@FU-BERLIN.DE
Browse files

remove a few spurious 'typename' keywords. gcc 4.6 is stricter than 4.4

[[Imported from SVN: r8637]]
parent 6e1d15ce
No related branches found
No related tags found
No related merge requests found
......@@ -174,10 +174,10 @@ int main (int argc, char *argv[]) try
// Assemble Neumann term
//////////////////////////////////////////////////////////////////////////////
typedef P1NodalBasis<typename GridType::LeafGridView,double> P1Basis;
typedef P1NodalBasis<GridType::LeafGridView,double> P1Basis;
P1Basis p1Basis(grid.leafView());
BoundaryPatch<typename GridType::LeafGridView> neumannBoundary(grid.leafView(), neumannNodes);
BoundaryPatch<GridType::LeafGridView> neumannBoundary(grid.leafView(), neumannNodes);
std::cout << "Neumann boundary has " << neumannBoundary.numFaces() << " faces\n";
......@@ -219,7 +219,7 @@ int main (int argc, char *argv[]) try
materialParameters.report();
CosseratEnergyLocalStiffness<GridType::LeafGridView,
typename P1Basis::LocalFiniteElement,
P1Basis::LocalFiniteElement,
3> cosseratEnergyLocalStiffness(materialParameters,
&neumannBoundary,
&neumannFunction);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment