From 4adcbe42b761d981552e6f8d3c5d928c5eefc950 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Loriot?= Date: Mon, 22 Jul 2024 18:16:50 +0200 Subject: [PATCH] fix copy/paste error --- Nef_3/examples/Nef_3/draw_nef_3.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Nef_3/examples/Nef_3/draw_nef_3.cpp b/Nef_3/examples/Nef_3/draw_nef_3.cpp index 0ccd07ba6f9..4037078a9a4 100644 --- a/Nef_3/examples/Nef_3/draw_nef_3.cpp +++ b/Nef_3/examples/Nef_3/draw_nef_3.cpp @@ -16,7 +16,7 @@ int main(int argc, char *argv[]) Polyhedron P1, P2; std::ifstream ifs1((argc > 1) ? argv[1] : CGAL::data_file_path("meshes/cross_quad.off")); ifs1 >> P1; - std::ifstream ifs2((argc > 1) ? argv[1] : CGAL::data_file_path("meshes/beam.off")); + std::ifstream ifs2((argc > 2) ? argv[2] : CGAL::data_file_path("meshes/beam.off")); ifs2 >> P2; // initialize nef from polyhedron