From 17c951f5c3415055ac7d3e2116db3ccae5e213d7 Mon Sep 17 00:00:00 2001 From: Mithun RK Date: Thu, 18 Mar 2021 12:12:31 -0700 Subject: [PATCH] Code formatting. --- cpp/src/rolling/grouped_rolling.cu | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/cpp/src/rolling/grouped_rolling.cu b/cpp/src/rolling/grouped_rolling.cu index 88253a3f4ea..b8cb5e45fec 100644 --- a/cpp/src/rolling/grouped_rolling.cu +++ b/cpp/src/rolling/grouped_rolling.cu @@ -128,8 +128,7 @@ std::unique_ptr grouped_rolling_window(table_view const& group_keys, // 3. [0, 500, 1000] indicates two equal-sized groups: [0,500), and [500,1000). assert(group_offsets.size() >= 2 && group_offsets.element(0, stream) == 0 && - group_offsets.element(group_offsets.size() - 1, stream) == - input.size() && + group_offsets.element(group_offsets.size() - 1, stream) == input.size() && "Must have at least one group."); auto preceding_calculator = [d_group_offsets = group_offsets.data(),