Skip to content

Commit 2187aad

Browse files
committed
Update byrow.jl
1 parent ff5bfd1 commit 2187aad

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/byrow/byrow.jl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,14 +33,14 @@ function byrow(ds::AbstractDataset, ::typeof(any), cols::MultiColumnIndex = :; b
3333
colsidx = index(ds)[cols]
3434
if by isa AbstractVector
3535
if mapformats
36-
bys = map((x,y)->_bool(z->x(getformat(ds, y)(z))), by, colsidx)
36+
bys = map((x,y)->expand_Base_Fix(x, getformat(ds, y)), by, colsidx)
3737
else
3838
bys = map(_bool, by)
3939
end
4040
threads ? hp_row_any_multi(ds, bys, colsidx) : row_any_multi(ds, bys, colsidx)
4141
else
4242
if mapformats
43-
bys = map(y->_bool(z->by(getformat(ds, y)(z))), colsidx)
43+
bys = map(y->expand_Base_Fix(by, getformat(ds, y)), colsidx)
4444
else
4545
bys = repeat([_bool(by)], length(colsidx))
4646
end

0 commit comments

Comments
 (0)