Skip to content
Snippets Groups Projects
Commit 49e26f61 authored by Stéphane Del Pino's avatar Stéphane Del Pino
Browse files

Fix g++-8 compilation issue

Should try to replace all std::vector by Kokkos::vector for portability
parent 39f9d1e4
No related branches found
No related tags found
1 merge request!6Feature/crs
......@@ -2,6 +2,7 @@
#define MESH_NODE_BOUNDARY_HPP
#include <Kokkos_Core.hpp>
#include <Kokkos_Vector.hpp>
#include <TinyVector.hpp>
#include <RefNodeList.hpp>
......@@ -37,7 +38,7 @@ class MeshNodeBoundary
}
});
std::vector<unsigned int> node_ids;
Kokkos::vector<unsigned int> node_ids;
// not enough but should reduce significantly the number of resizing
node_ids.reserve(dimension*face_list.extent(0));
for (size_t l=0; l<face_list.extent(0); ++l) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment