From 66f3bdcb58aafad49710ecfc98c049000c163982 Mon Sep 17 00:00:00 2001 From: Guillaume Damiand Date: Wed, 10 May 2017 17:15:20 -0400 Subject: [PATCH] Bugfix in copy face graph example Here we need to write S (and not T1 as in the current example). --- BGL/examples/BGL_polyhedron_3/copy_polyhedron.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/BGL/examples/BGL_polyhedron_3/copy_polyhedron.cpp b/BGL/examples/BGL_polyhedron_3/copy_polyhedron.cpp index ec36c663545..361dc968e9a 100644 --- a/BGL/examples/BGL_polyhedron_3/copy_polyhedron.cpp +++ b/BGL/examples/BGL_polyhedron_3/copy_polyhedron.cpp @@ -80,7 +80,7 @@ int main(int argc, char* argv[]) CGAL::copy_face_graph(T1, S, std::inserter(v2v, v2v.end()), std::inserter(h2h, h2h.end())); std::ofstream out("reverse.off"); - out << T1; + out << S; } return 0; }