From 4a47f5dab5301a4bc3b5229b7af7105b5e6839ef Mon Sep 17 00:00:00 2001 From: Timo Heister Date: Sat, 28 Nov 2015 07:59:14 -0500 Subject: [PATCH] avoid Point(true) constructor in write_svg Pointd are always initialized to zero anyways and this call confuses MSVC. --- source/base/data_out_base.cc | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/source/base/data_out_base.cc b/source/base/data_out_base.cc index bbe6a7c2e4..ff0005d352 100644 --- a/source/base/data_out_base.cc +++ b/source/base/data_out_base.cc @@ -2506,7 +2506,7 @@ namespace DataOutBase double lambda = - gradient[0] * (v_min[0] - v_max[0]) - gradient[1] * (v_min[1] - v_max[1]); - Point<6> gradient_parameters(true); + Point<6> gradient_parameters; gradient_parameters[0] = v_min[0]; gradient_parameters[1] = v_min[1]; @@ -5416,9 +5416,9 @@ namespace DataOutBase // set initial camera position - Point<3> camera_position(true); - Point<3> camera_direction(true); - Point<3> camera_horizontal(true); + Point<3> camera_position; + Point<3> camera_direction; + Point<3> camera_horizontal; float camera_focus = 0; // translate camera from the origin to the initial position @@ -5498,7 +5498,7 @@ namespace DataOutBase n_subdivisions = patch->n_subdivisions; n = n_subdivisions + 1; - Point<3> point(true); + Point<3> point; compute_node(projected_point, &*patch, 0, 0, 0, n_subdivisions); -- 2.39.5