# HG changeset patch # User Eugenio Gianniti # Date 1407416195 -7200 # Node ID 68cae2998775700ace6da041406df28c2707c860 # Parent f22588ae37af2ca6e475e42a9d88c84d29fa2adf Change default value for markers to the maximum representable diff -r f22588ae37af -r 68cae2998775 src/Mesh.cc --- a/src/Mesh.cc Thu Aug 07 11:13:54 2014 +0200 +++ b/src/Mesh.cc Thu Aug 07 14:56:35 2014 +0200 @@ -400,7 +400,9 @@ Array const & e, std::size_t const D) { - dolfin::MeshFunction facet (_msh, D-1, 0); + dolfin::MeshFunction facet (_msh, D-1, + std::numeric_limits + ::max ()); std::size_t const num_side_edges = e.cols (); std::vector const & global_vertices = _msh.topology ().global_indices (0); @@ -498,7 +500,9 @@ Array const & t, std::size_t const D) { - dolfin::MeshFunction cell (_msh, D, 0); + dolfin::MeshFunction cell (_msh, D, + std::numeric_limits + ::max ()); std::size_t const num_cells = t.cols (); std::vector const & global_vertices = _msh.topology ().global_indices (0);