Commit dec8990b authored by lh1887's avatar lh1887
Browse files

Use std::array in tests

parent 4eed66b1
Pipeline #6948 passed with stage
in 2 minutes and 21 seconds
......@@ -225,7 +225,7 @@ bool checkWithYaspGrid(int refine, const std::string fileName="")
typedef Dune::YaspGrid<dim> GridType;
typename Dune::FieldVector<typename GridType::ctype,dim> L(1.0);
typename Dune::array<int,dim> s;
typename std::array<int,dim> s;
std::fill(s.begin(), s.end(), 1);
GridType grid(L, s);
......
......@@ -233,7 +233,7 @@ bool checkWithYaspGrid(int refine, const std::string fileName="")
typedef Dune::YaspGrid<dim> GridType;
typename Dune::FieldVector<typename GridType::ctype,dim> L(1.0);
typename Dune::array<int,dim> s;
typename std::array<int,dim> s;
std::fill(s.begin(), s.end(), 1);
GridType grid(L, s);
......
......@@ -309,7 +309,7 @@ bool checkWithYaspGrid(int refine, const std::string fileName="")
typedef Dune::YaspGrid<dim> GridType;
typename Dune::FieldVector<typename GridType::ctype,dim> L(1.0);
typename Dune::array<int,dim> s;
typename std::array<int,dim> s;
std::fill(s.begin(), s.end(), 1);
GridType grid(L, s);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment