From 3d0f086ff4858bb41b222f795efcdd2d4003f138 Mon Sep 17 00:00:00 2001 From: fis Date: Fri, 17 Dec 2021 15:23:52 +0800 Subject: [PATCH] lint --- cpp/include/raft/sparse/selection/knn_graph.hpp | 2 +- .../raft/spatial/knn/specializations/ball_cover.hpp | 2 +- cpp/src/nn/specializations/ball_cover.cu | 2 +- cpp/test/common/span.cpp | 2 +- cpp/test/common/span.cu | 8 ++++---- 5 files changed, 8 insertions(+), 8 deletions(-) diff --git a/cpp/include/raft/sparse/selection/knn_graph.hpp b/cpp/include/raft/sparse/selection/knn_graph.hpp index 96ce02e06a..beb3fafec6 100644 --- a/cpp/include/raft/sparse/selection/knn_graph.hpp +++ b/cpp/include/raft/sparse/selection/knn_graph.hpp @@ -16,8 +16,8 @@ #pragma once -#include #include +#include #include #include diff --git a/cpp/include/raft/spatial/knn/specializations/ball_cover.hpp b/cpp/include/raft/spatial/knn/specializations/ball_cover.hpp index dad0b3f1ee..1a423f1f48 100644 --- a/cpp/include/raft/spatial/knn/specializations/ball_cover.hpp +++ b/cpp/include/raft/spatial/knn/specializations/ball_cover.hpp @@ -18,8 +18,8 @@ #include -#include #include +#include #include namespace raft { diff --git a/cpp/src/nn/specializations/ball_cover.cu b/cpp/src/nn/specializations/ball_cover.cu index 656aec3323..12fe7d0672 100644 --- a/cpp/src/nn/specializations/ball_cover.cu +++ b/cpp/src/nn/specializations/ball_cover.cu @@ -14,9 +14,9 @@ * limitations under the License. */ -#include #include #include +#include // Ignore upstream specializations to avoid unnecessary recompiling #include diff --git a/cpp/test/common/span.cpp b/cpp/test/common/span.cpp index 2e2837866c..47bbded435 100644 --- a/cpp/test/common/span.cpp +++ b/cpp/test/common/span.cpp @@ -13,10 +13,10 @@ * See the License for the specific language governing permissions and * limitations under the License. */ +#include "test_span.hpp" #include #include // iota #include -#include "test_span.hpp" namespace raft::common { TEST(Span, DlfConstructors) diff --git a/cpp/test/common/span.cu b/cpp/test/common/span.cu index c5646d1a1c..d16e91d3fe 100644 --- a/cpp/test/common/span.cu +++ b/cpp/test/common/span.cu @@ -13,14 +13,14 @@ * See the License for the specific language governing permissions and * limitations under the License. */ +#include "test_span.hpp" #include -#include -#include -#include #include // iota #include #include -#include "test_span.hpp" +#include +#include +#include namespace raft::common { struct TestStatus {