Skip to content
Snippets Groups Projects
Commit 1e93ee44 authored by Christian Engwer's avatar Christian Engwer
Browse files

In Berlin it was decided that Dune::array should not be substituted by

std::tr1::array, but only by std::array. The reason is to avoid the
alignment bug is gcc-4.[012]

This allows Dune::FieldVector to inherit from Dune::array.

[[Imported from SVN: r5829]]
parent 1daa8ffc
No related branches found
No related tags found
No related merge requests found
......@@ -14,8 +14,6 @@
// Include system implementation of array class if present
#ifdef HAVE_ARRAY
#include <array>
#elif defined HAVE_TR1_ARRAY
#include <tr1/array>
#else
#include <algorithm>
#endif
......@@ -30,8 +28,6 @@ namespace Dune
#ifdef HAVE_ARRAY
using std::array;
#elif defined HAVE_TR1_ARRAY
using std::tr1::array;
#else
/** \brief Simple fixed size array class. This replaces std::array,
......
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