diff options
author | vrouvrea <vrouvrea@636b058d-ea47-450e-bf9e-a15bfbe3eedb> | 2015-06-12 10:47:38 +0000 |
---|---|---|
committer | vrouvrea <vrouvrea@636b058d-ea47-450e-bf9e-a15bfbe3eedb> | 2015-06-12 10:47:38 +0000 |
commit | 24ed9e6896b0aafcaeaf19e5d2970915282fa7b7 (patch) | |
tree | 2bc02bec0eac7e145d63a56fd7fd2ea0bf565db3 /src/common | |
parent | 844d6205eb6705935417b0ab45b0c71230bd9ed6 (diff) |
delaunay off reader/writer fix.
alpha complex algo seems ok. tests are Nok.
git-svn-id: svn+ssh://scm.gforge.inria.fr/svnroot/gudhi/branches/alphashapes@611 636b058d-ea47-450e-bf9e-a15bfbe3eedb
Former-commit-id: 37cea3b33d783a77a23fa3a54a1bee106508d981
Diffstat (limited to 'src/common')
-rw-r--r-- | src/common/include/gudhi/Off_reader.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/common/include/gudhi/Off_reader.h b/src/common/include/gudhi/Off_reader.h index e29218d8..618d1b4d 100644 --- a/src/common/include/gudhi/Off_reader.h +++ b/src/common/include/gudhi/Off_reader.h @@ -7,7 +7,7 @@ * * Author(s): David Salinas * - * Copyright (C) 2014 INRIA Sophia Antipolis-Méditerranée (France) + * Copyright (C) 2014 INRIA Sophia Antipolis-Méditerranée (France) * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -121,7 +121,7 @@ private: if(!goto_next_uncomment_line(line)) return false; std::istringstream iss(line); - if(is_off_file){ + if((is_off_file) && (!is_noff_file)) { off_info_.dim = 3; if(!(iss >> off_info_.num_vertices >> off_info_.num_faces >> off_info_.num_edges)){ std::cerr << "incorrect number of vertices/faces/edges\n"; |