From 6219e2cbd5381ddd6737ffb0459914c2e4ea761c Mon Sep 17 00:00:00 2001
From: Wolfgang Bangerth <bangerth@math.tamu.edu>
Date: Wed, 15 Jan 2014 02:48:08 +0000
Subject: [PATCH] Use double instead of float in one place to avoid a MS VC++
 warning.

git-svn-id: https://svn.dealii.org/trunk@32212 0785d39b-7218-0410-832d-ea1e28bc413d
---
 deal.II/source/grid/grid_out.cc | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/deal.II/source/grid/grid_out.cc b/deal.II/source/grid/grid_out.cc
index edf857458e..f0dd256b68 100644
--- a/deal.II/source/grid/grid_out.cc
+++ b/deal.II/source/grid/grid_out.cc
@@ -1,7 +1,7 @@
 // ---------------------------------------------------------------------
 // $Id$
 //
-// Copyright (C) 1999 - 2013 by the deal.II authors
+// Copyright (C) 1999 - 2014 by the deal.II authors
 //
 // This file is part of the deal.II library.
 //
@@ -1530,7 +1530,7 @@ void GridOut::write_svg(const Triangulation<2,2> &tria, std::ostream &out) const
   Point<3> camera_direction_temp;
   Point<3> camera_horizontal_temp;
 
-  const float angle_factor = 3.14159265 / 180.;
+  const double angle_factor = 3.14159265 / 180.;
 
   // (I) rotate the camera to the chosen polar angle
   camera_position_temp[1] = cos(angle_factor * svg_flags.polar_angle) * camera_position[1] - sin(angle_factor * svg_flags.polar_angle) * camera_position[2];
-- 
2.39.5