From e5cdbbf7eb0149c2ff865c4863620a884e915afb Mon Sep 17 00:00:00 2001 From: Pietro Incardona <i-bird@private-incardon-3.mpi-cbg.de> Date: Wed, 2 Mar 2016 09:41:18 -0500 Subject: [PATCH] Adding Dist Graph writer --- src/GraphMLWriter/GraphMLWriter_unit_tests.hpp | 2 +- src/VTKWriter/VTKWriter_graph.hpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/GraphMLWriter/GraphMLWriter_unit_tests.hpp b/src/GraphMLWriter/GraphMLWriter_unit_tests.hpp index 570d3253..1fc568bb 100644 --- a/src/GraphMLWriter/GraphMLWriter_unit_tests.hpp +++ b/src/GraphMLWriter/GraphMLWriter_unit_tests.hpp @@ -133,7 +133,7 @@ BOOST_AUTO_TEST_CASE( graphml_writer_use) // Boundary conditions, non periodic size_t bc[] = {NON_PERIODIC,NON_PERIODIC,NON_PERIODIC}; - Graph_CSR<ne_cp,ne_cp> g_csr = g_factory.construct<5,float,2,ne_cp::x,ne_cp::y,ne_cp::z>(sz,box,bc); + Graph_CSR<ne_cp,ne_cp> g_csr = g_factory.construct<5,NO_VERTEX_ID,float,2,ne_cp::x,ne_cp::y,ne_cp::z>(sz,box,bc); // Create a graph ML GraphMLWriter<Graph_CSR<ne_cp,ne_cp>> gw(g_csr); diff --git a/src/VTKWriter/VTKWriter_graph.hpp b/src/VTKWriter/VTKWriter_graph.hpp index be7706a5..f896a2d3 100644 --- a/src/VTKWriter/VTKWriter_graph.hpp +++ b/src/VTKWriter/VTKWriter_graph.hpp @@ -970,7 +970,7 @@ class VTKWriter<Graph, VTK_GRAPH> vtk_vertex_node<Graph, attr> vn(v_out, obj, x); // 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 - 1> >(vn); + boost::mpl::for_each<boost::mpl::range_c<int, 0, Graph::V_type::max_prop > >(vn); // write the node string vn.write(); -- GitLab