Commit b1d0d9e0 authored by incardon's avatar incardon
Browse files

Fixing IO for particles 1D

parent 7e6e363f
......@@ -435,7 +435,9 @@ template<unsigned int dims,typename T> inline void output_point(Point<dims,T> &
{
if (ft == file_type::ASCII)
{
if (dims == 2)
if (dims == 1)
v_out << p.toString() << " 0.0" << " 0.0" << "\n";
else if (dims == 2)
v_out << p.toString() << " 0.0" << "\n";
else
v_out << p.toString() << "\n";
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment