From 702978162cf754be4fa5f2f2ce25cd303668e1fa Mon Sep 17 00:00:00 2001 From: nyoungbq Date: Thu, 21 Sep 2023 15:38:03 -0400 Subject: [PATCH] small clean up --- .../src/ComplexCore/Filters/Algorithms/FindNeighborhoods.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Plugins/ComplexCore/src/ComplexCore/Filters/Algorithms/FindNeighborhoods.cpp b/src/Plugins/ComplexCore/src/ComplexCore/Filters/Algorithms/FindNeighborhoods.cpp index 3967ab37be..eab94c5298 100644 --- a/src/Plugins/ComplexCore/src/ComplexCore/Filters/Algorithms/FindNeighborhoods.cpp +++ b/src/Plugins/ComplexCore/src/ComplexCore/Filters/Algorithms/FindNeighborhoods.cpp @@ -26,7 +26,7 @@ class FindNeighborhoodsImpl float32 dBinX, dBinY, dBinZ; float32 criticalDistance1, criticalDistance2; - auto increment = static_cast((end - start) / 100); + auto increment = static_cast(end - start) / 100.0; float64 incCount = 0.0; // NEVER start at 0. if(start == 0)