Skip to content

v0.2.52..v0.2.53 changeset CompareCmd.cpp

Garret Voltz edited this page Feb 12, 2020 · 1 revision
diff --git a/hoot-core/src/main/cpp/hoot/core/cmd/CompareCmd.cpp b/hoot-core/src/main/cpp/hoot/core/cmd/CompareCmd.cpp
index 037a46f..12492bf 100644
--- a/hoot-core/src/main/cpp/hoot/core/cmd/CompareCmd.cpp
+++ b/hoot-core/src/main/cpp/hoot/core/cmd/CompareCmd.cpp
@@ -22,7 +22,7 @@
  * This will properly maintain the copyright information. DigitalGlobe
  * copyrights will be updated automatically.
  *
- * @copyright Copyright (C) 2015, 2016, 2017, 2018, 2019 DigitalGlobe (http://www.digitalglobe.com/)
+ * @copyright Copyright (C) 2015, 2016, 2017, 2018, 2019, 2020 DigitalGlobe (http://www.digitalglobe.com/)
  */
 
 // Hoot
@@ -105,6 +105,7 @@ public:
     graph.setDebugImages(ConfigOptions().getScoreGraphDebugImages());
     graph.setIterations(1000);
     graph.setPixelSize(10);
+    graph.setMaxThreads(ConfigOptions().getGraphComparatorMaxThreads());
     graph.compareMaps();
     double thisConfidence = graph.getConfidenceInterval();
     double thisMean = graph.getMeanScore();
Clone this wiki locally