From a07a50640eaa4006cd532c1ec166a527b9ee8920 Mon Sep 17 00:00:00 2001 From: vrouvrea Date: Fri, 16 Dec 2016 16:35:31 +0000 Subject: Fix cppcheck warnings git-svn-id: svn+ssh://scm.gforge.inria.fr/svnroot/gudhi/trunk@1906 636b058d-ea47-450e-bf9e-a15bfbe3eedb Former-commit-id: abb0875f5cfe3b3d0ce738257efc3f4c0fb57adc --- src/Subsampling/example/example_custom_kernel.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/Subsampling') diff --git a/src/Subsampling/example/example_custom_kernel.cpp b/src/Subsampling/example/example_custom_kernel.cpp index f87ef0b3..25b5bf6c 100644 --- a/src/Subsampling/example/example_custom_kernel.cpp +++ b/src/Subsampling/example/example_custom_kernel.cpp @@ -26,10 +26,10 @@ class Kernel { public: Squared_distance_d() { - matrix_.push_back(std::vector({0,1,2,4})); - matrix_.push_back(std::vector({1,0,4,2})); - matrix_.push_back(std::vector({2,4,0,1})); - matrix_.push_back(std::vector({4,2,1,0})); + matrix_.push_back(std::vector({0, 1, 2, 4})); + matrix_.push_back(std::vector({1, 0, 4, 2})); + matrix_.push_back(std::vector({2, 4, 0, 1})); + matrix_.push_back(std::vector({4, 2, 1, 0})); } FT operator()(Point_d p1, Point_d p2) { -- cgit v1.2.3