Skip to content

Commit

Permalink
Fix test #2
Browse files Browse the repository at this point in the history
  • Loading branch information
st-pasha committed Dec 9, 2020
1 parent 37917e7 commit 798951f
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/core/sort.cc
Original file line number Diff line number Diff line change
Expand Up @@ -585,6 +585,7 @@ class SortContext {


void continue_sort(const Column& col, bool desc, bool make_groups) {
xassert(!col.is_virtual());
column = col;
nradixes = gg.size();
descending = desc;
Expand Down Expand Up @@ -1504,6 +1505,7 @@ void dt::ArrayView_ColumnImpl<T>::sort_grouped(
const Groupby& grps, Column& out)
{
(void) out.stats();
arg.materialize();
SortContext sc(nrows(), rowindex_container, grps, /*make_groups=*/ false);
sc.continue_sort(arg, /*desc=*/ false, /*make_groups=*/ false);
if (sizeof(T) == 4) {
Expand Down

0 comments on commit 798951f

Please sign in to comment.