Skip to content

Commit

Permalink
Merge pull request #110 from adam-r-kowalski/ak/abstract-types
Browse files Browse the repository at this point in the history
removes restriction on result to be an abstract array
  • Loading branch information
Evizero committed Jun 11, 2019
2 parents 84c20d8 + e1318f0 commit 493ec5d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/supervised/supervised.jl
Expand Up @@ -260,7 +260,7 @@ for (FUN, DESC, EXAMPLE) in (
quote
$(Expr(:meta, :inline))
S = typeof(($($FUN))(loss, one(Q), one(T)))
($($FUN)).(Ref(loss), target, output)::Array{S,$(max(N,M))}
($($FUN)).(Ref(loss), target, output)
end
end

Expand Down

0 comments on commit 493ec5d

Please sign in to comment.