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(),