summaryrefslogtreecommitdiff
path: root/src/Subsampling/example/example_custom_kernel.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/Subsampling/example/example_custom_kernel.cpp')
-rw-r--r--src/Subsampling/example/example_custom_kernel.cpp8
1 files changed, 4 insertions, 4 deletions
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<FT>({0,1,2,4}));
- matrix_.push_back(std::vector<FT>({1,0,4,2}));
- matrix_.push_back(std::vector<FT>({2,4,0,1}));
- matrix_.push_back(std::vector<FT>({4,2,1,0}));
+ matrix_.push_back(std::vector<FT>({0, 1, 2, 4}));
+ matrix_.push_back(std::vector<FT>({1, 0, 4, 2}));
+ matrix_.push_back(std::vector<FT>({2, 4, 0, 1}));
+ matrix_.push_back(std::vector<FT>({4, 2, 1, 0}));
}
FT operator()(Point_d p1, Point_d p2) {