From: Wolfgang Bangerth Date: Thu, 3 Nov 2016 17:58:48 +0000 (-0600) Subject: Simplify an initialization. X-Git-Tag: v8.5.0-rc1~484^2 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b7861f08622f45333c6186752b1604dbc3956ba4;p=dealii.git Simplify an initialization. --- diff --git a/source/grid/grid_out.cc b/source/grid/grid_out.cc index 8918c6e503..cc733c55fe 100644 --- a/source/grid/grid_out.cc +++ b/source/grid/grid_out.cc @@ -1472,9 +1472,9 @@ void GridOut::write_svg(const Triangulation<2,2> &tria, std::ostream &out) const // auxiliary variables for the bounding box and the range of cell levels double x_min = tria.begin()->vertex(0)[0]; - double x_max = tria.begin()->vertex(0)[0]; + double x_max = x_min; double y_min = tria.begin()->vertex(0)[1]; - double y_max = tria.begin()->vertex(0)[1]; + double y_max = y_min; double x_dimension, y_dimension;