Commit ff5ebe90 authored by Max Lyon's avatar Max Lyon

fixed some warnings

parent 15883441
......@@ -398,7 +398,6 @@ void FileManager::generateGenericProperty(const std::string& _entity_t, const st
template<class MeshT>
bool FileManager::writeFile(const std::string& _filename, const MeshT& _mesh) const {
typedef typename MeshT::Face Face;
std::ofstream off(_filename.c_str(), std::ios::out);
if(!off.good()) {
......
......@@ -166,8 +166,8 @@ TEST_F(PolyhedralMeshBase, SaveFileWithVectorProps) {
EXPECT_DOUBLE_EQ((double)i/2.0, hfprop2[i][2]);
}
for(unsigned int i = 0; i < mesh_.n_vertices(); ++i) {
EXPECT_EQ(i, vprop2[i][0]);
EXPECT_EQ(i, vprop2[i][1]);
EXPECT_EQ((int)i, vprop2[i][0]);
EXPECT_EQ((int)i, vprop2[i][1]);
}
}
......@@ -231,8 +231,8 @@ TEST_F(PolyhedralMeshBase, SerializeVectorValuedProperties) {
EXPECT_DOUBLE_EQ((double)i/2.0, hfprop[i][2]);
}
for(unsigned int i = 0; i < mesh_.n_vertices(); ++i) {
EXPECT_EQ(i, vprop[i][0]);
EXPECT_EQ(i, vprop[i][1]);
EXPECT_EQ((int)i, vprop[i][0]);
EXPECT_EQ((int)i, vprop[i][1]);
}
}
......
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