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

Warning fixes

parent e29c8982
No related branches found
No related tags found
No related merge requests found
......@@ -173,7 +173,7 @@ int main(int argc, char *argv[])
const Kokkos::View<const Rd*> xj = mesh_data.xj();
const Kokkos::View<const double*> rhoj = unknowns.rhoj();
std::ofstream fout("rho");
for (int j=0; j<mesh.numberOfCells(); ++j) {
for (size_t j=0; j<mesh.numberOfCells(); ++j) {
fout << xj[j][0] << ' ' << rhoj[j] << '\n';
}
}
......
......@@ -157,7 +157,7 @@ public:
});
m_node_cells(m_number_of_nodes-1,0) = m_number_of_cells-1;
Kokkos::parallel_for(m_number_of_nodes, KOKKOS_LAMBDA(const int& r) {
Kokkos::parallel_for(m_number_of_nodes, KOKKOS_LAMBDA(const unsigned int& r) {
for (int J=0; J<m_node_nb_cells(r); ++J) {
int j = m_node_cells(r,J);
for (int R=0; R<2; ++R) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment