From 76da80513ff502e1fefef9da31a4a222e42da50f Mon Sep 17 00:00:00 2001
From: Pietro Incardona <incardon@mpi-cbg.de>
Date: Fri, 4 Sep 2020 16:52:09 +0200
Subject: [PATCH] Fixing float to double for particle position

---
 src/VTKWriter/VTKWriter_point_set.hpp | 5 +----
 1 file changed, 1 insertion(+), 4 deletions(-)

diff --git a/src/VTKWriter/VTKWriter_point_set.hpp b/src/VTKWriter/VTKWriter_point_set.hpp
index b306066..b7a6d1d 100644
--- a/src/VTKWriter/VTKWriter_point_set.hpp
+++ b/src/VTKWriter/VTKWriter_point_set.hpp
@@ -239,10 +239,7 @@ class VTKWriter<pair,VECTOR_POINTS>
 
 		// write the number of vertex
 
-		if (ft == file_type::ASCII)
-		{v_out += "POINTS " + std::to_string(get_total()) + " float" + "\n";}
-		else
-		{v_out += "POINTS " + std::to_string(get_total()) + " " + getType<typename pair::first::value_type::coord_type>() + "\n";}
+		v_out += "POINTS " + std::to_string(get_total()) + " " + getType<typename pair::first::value_type::coord_type>() + "\n";
 
 		// return the vertex properties string
 		return v_out;
-- 
GitLab