Skip to content

Commit ddb3a98

Browse files
authored
Merge pull request #282 from cpfiffer/patch-1
2 parents ba63964 + 82723fa commit ddb3a98

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/encodings/onehot.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ function checkblock(block::OneHotTensorMulti{N}, a::AbstractArray{T, M}) where {
3434
return N + 1 == M && last(size(a)) == length(block.classes)
3535
end
3636

37-
function mockblock(block::OneHotTensorMulti{0}) where {N}
37+
function mockblock(block::OneHotTensorMulti{0})
3838
labelblock = LabelMulti(block.classes)
3939
return encode(OneHot(), Validation(), labelblock, mockblock(labelblock))
4040
end

0 commit comments

Comments
 (0)