Commit df344803 authored by incardon's avatar incardon

Fixing minor problems

parent 935c25aa
......@@ -15,7 +15,6 @@
#include "util/common.hpp"
#include <boost/mpl/range_c.hpp>
#include <boost/mpl/for_each.hpp>
#include "Point_test.hpp"
#include "csv_multiarray.hpp"
#include "util.hpp"
......
......@@ -595,8 +595,8 @@ class GraphMLWriter
// create a new node
en.new_node(nc,it.source(),it.target());
// Iterate through all the vertex and create the vertex list
boost::mpl::for_each< boost::mpl::range_c<int,0,Graph::V_type::max_prop> >(en);
// Iterate through all the edges and create the edge list
boost::mpl::for_each< boost::mpl::range_c<int,0,Graph::E_type::max_prop> >(en);
// end new node
en.end_node();
......
......@@ -665,7 +665,7 @@ public:
// Check if the file is open
if (ofs.is_open() == false)
{std::cerr << "Error cannot create the VTK file: " + file;}
{std::cerr << "Error cannot create the VTK file: " + file + "\n";}
ofs << vtk_header << point_prop_header << point_list <<
vertex_prop_header << vertex_list << edge_prop_header << edge_list << point_data_header << point_data;
......
......@@ -357,7 +357,7 @@ public:
// Check if the file is open
if (ofs.is_open() == false)
{std::cerr << "Error cannot create the VTK file: " + file;}
{std::cerr << "Error cannot create the VTK file: " + file + "\n";}
ofs << vtk_header << point_prop_header << point_list <<
vertex_prop_header << vertex_list << point_data_header << point_data;
......
......@@ -558,7 +558,7 @@ public:
// Check if the file is open
if (ofs.is_open() == false)
{std::cerr << "Error cannot create the VTK file: " + file;}
{std::cerr << "Error cannot create the VTK file: " + file + "\n";}
ofs << vtk_header << point_prop_header << point_list <<
vertex_prop_header << vertex_list << point_data_header << point_data;
......
......@@ -439,7 +439,7 @@ public:
// Check if the file is open
if (ofs.is_open() == false)
{std::cerr << "Error cannot create the VTK file: " + file;}
{std::cerr << "Error cannot create the VTK file: " + file + "\n";}
ofs << vtk_header << point_prop_header << point_list <<
cell_prop_header << cell_list << cell_types_header << cell_types_list << cell_data_header << cell_data_list;
......
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