mirror of https://github.com/CGAL/cgal
fix index of input file and add missing end of line
example code in dont_submit trivial bugfix for master
This commit is contained in:
parent
2b529a0666
commit
d6d70c8e9b
|
|
@ -50,9 +50,9 @@ int main(int,char** argv) {
|
|||
std::vector<Point_3> points;
|
||||
std::vector< std::vector<std::size_t> > polygons;
|
||||
|
||||
std::ifstream input(argv[0]);
|
||||
std::ifstream input(argv[1]);
|
||||
if ( !input || !read_soup(input, points, polygons)){
|
||||
std::cerr << "Error: can not read file.";
|
||||
std::cerr << "Error: can not read file.\n";
|
||||
return 1;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue