summaryrefslogtreecommitdiff
path: root/src/cython/include/Euclidean_strong_witness_complex_interface.h
diff options
context:
space:
mode:
authorvrouvrea <vrouvrea@636b058d-ea47-450e-bf9e-a15bfbe3eedb>2017-03-24 06:20:50 +0000
committervrouvrea <vrouvrea@636b058d-ea47-450e-bf9e-a15bfbe3eedb>2017-03-24 06:20:50 +0000
commitf48eae4cd7dc50dbbe0c8ec4f63bb98dda51a5d8 (patch)
tree5d71318b12eace4f09f5cdd8c65ed1d57450e5f5 /src/cython/include/Euclidean_strong_witness_complex_interface.h
parent8a0a20484e968b872b911ca964b079442c6c1fe7 (diff)
Fix cpplint on cython interfaces
git-svn-id: svn+ssh://scm.gforge.inria.fr/svnroot/gudhi/trunk@2229 636b058d-ea47-450e-bf9e-a15bfbe3eedb Former-commit-id: 41a958b1be51ac938b45b384cde7940a85e9dea0
Diffstat (limited to 'src/cython/include/Euclidean_strong_witness_complex_interface.h')
-rw-r--r--src/cython/include/Euclidean_strong_witness_complex_interface.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/cython/include/Euclidean_strong_witness_complex_interface.h b/src/cython/include/Euclidean_strong_witness_complex_interface.h
index 67d85e18..b9dd8177 100644
--- a/src/cython/include/Euclidean_strong_witness_complex_interface.h
+++ b/src/cython/include/Euclidean_strong_witness_complex_interface.h
@@ -20,8 +20,8 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
-#ifndef EUCLIDEAN_STRONG_WITNESS_COMPLEX_INTERFACE_H
-#define EUCLIDEAN_STRONG_WITNESS_COMPLEX_INTERFACE_H
+#ifndef INCLUDE_EUCLIDEAN_STRONG_WITNESS_COMPLEX_INTERFACE_H_
+#define INCLUDE_EUCLIDEAN_STRONG_WITNESS_COMPLEX_INTERFACE_H_
#include <gudhi/Simplex_tree.h>
#include <gudhi/Euclidean_strong_witness_complex.h>
@@ -50,7 +50,7 @@ class Euclidean_strong_witness_complex_interface {
Euclidean_strong_witness_complex_interface(const std::vector<std::vector<double>>& landmarks,
const std::vector<std::vector<double>>& witnesses) {
landmarks_.reserve(landmarks.size());
- for(auto& landmark : landmarks)
+ for (auto& landmark : landmarks)
landmarks_.emplace_back(landmark.begin(), landmark.end());
witness_complex_ = new Euclidean_strong_witness_complex<Dynamic_kernel>(landmarks_, witnesses);
}
@@ -87,7 +87,7 @@ class Euclidean_strong_witness_complex_interface {
} // namespace witness_complex
-} // namespace Gudhi
+} // namespace Gudhi
-#endif // EUCLIDEAN_STRONG_WITNESS_COMPLEX_INTERFACE_H
+#endif // INCLUDE_EUCLIDEAN_STRONG_WITNESS_COMPLEX_INTERFACE_H_