Next bunch of warning fixes

This commit is contained in:
Jan Möbius
2016-11-07 14:30:14 +01:00
parent 85e183ae05
commit e75a70774d
6 changed files with 14 additions and 14 deletions

View File

@@ -326,7 +326,7 @@ private: // topological modifiers
typename mesh_t::VertexHandle vh1(_m.to_vertex_handle(heh));
typename mesh_t::Point midP(_m.point(_m.to_vertex_handle(heh)));
midP += _m.point(_m.to_vertex_handle(opp_heh));
midP *= static_cast<mesh_t::Point::value_type>(0.5);
midP *= static_cast<typename mesh_t::Point::value_type>(0.5);
// new vertex
vh = _m.new_vertex( midP );
@@ -394,7 +394,7 @@ private: // geometry helper
// boundary edge: just average vertex positions
if (_m.is_boundary(_eh) )
{
pos *= static_cast<MeshType::Point::value_type>(0.5);
pos *= static_cast<typename MeshType::Point::value_type>(0.5);
}
else // inner edge: add neighbouring Vertices to sum
{