Commit ef922861 authored by Jakub Klinkovský's avatar Jakub Klinkovský
Browse files

Fixed zero-initialization in the getEntityCenter function

parent 5d977a19
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -51,7 +51,7 @@ getEntityCenter( const Mesh< MeshConfig, Device > & mesh,
{
   using EntityType = MeshEntity< MeshConfig, Device, EntityTopology >;
   constexpr typename MeshConfig::LocalIndexType subvertices = EntityType::template getSubentitiesCount< 0 >();
   typename MeshTraits< MeshConfig >::PointType c{ 0.0 };
   typename MeshTraits< MeshConfig >::PointType c = 0;
   for( typename MeshConfig::LocalIndexType i = 0;
        i < subvertices;
        i++ )