Skip to content
Snippets Groups Projects
Commit 5c00c780 authored by Karsten Rink's avatar Karsten Rink
Browse files

fixing warnings

parent 77b5d595
No related branches found
No related tags found
No related merge requests found
......@@ -92,7 +92,7 @@ int OGSToVtkCellType(CellType ogs)
return VTK_PYRAMID;
case CellType::PYRAMID13:
return VTK_QUADRATIC_PYRAMID;
case CellType::INVALID:
default:
return -1;
}
}
......
......@@ -483,8 +483,8 @@ TEST_F(MeshLibProperties, AddDoublePropertiesTupleSize2)
// push some values (2 tuples) into the vector
for (std::size_t k(0); k<size; k++) {
pv.push_back(k);
pv.push_back(k);
pv.push_back(static_cast<double>(k));
pv.push_back(static_cast<double>(k));
}
// check the size, i.e., the number of tuples
ASSERT_EQ(size, pv.size());
......
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