From 23475f6aec3be8f1663c254596d37b088bcdab9d Mon Sep 17 00:00:00 2001 From: Matthew Fernandez Date: Sat, 13 Feb 2021 21:36:37 -0800 Subject: [PATCH] mark dimension as a constant in ANN bridge Related to #1938. --- lib/mingle/nearest_neighbor_graph_ann.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/lib/mingle/nearest_neighbor_graph_ann.cpp b/lib/mingle/nearest_neighbor_graph_ann.cpp index c4f62190b..1abb182a6 100644 --- a/lib/mingle/nearest_neighbor_graph_ann.cpp +++ b/lib/mingle/nearest_neighbor_graph_ann.cpp @@ -19,8 +19,7 @@ #include #include -int dim = 4; // dimension - +static const int dim = 4; // dimension /* static void printPt(ostream &out, ANNpoint p) // print point -- 2.40.0