From bdd07a8bc6c4d58a5d358d32d20ad045366b01b5 Mon Sep 17 00:00:00 2001 From: Mike J Innes Date: Wed, 14 Feb 2018 22:34:11 +0000 Subject: [PATCH] fix --- src/onehot.jl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/onehot.jl b/src/onehot.jl index 33c3921b..07206dfe 100644 --- a/src/onehot.jl +++ b/src/onehot.jl @@ -61,5 +61,5 @@ argmax(y::AbstractMatrix, l...) = # Ambiguity hack -a::TrackedMatrix * b::OneHotVector = Tracker.track(*, a, b) -a::TrackedMatrix * b::OneHotMatrix = Tracker.track(*, a, b) +a::TrackedMatrix * b::OneHotVector = invoke(*, Tuple{AbstractMatrix,OneHotVector}, a, b) +a::TrackedMatrix * b::OneHotMatrix = invoke(*, Tuple{AbstractMatrix,OneHotMatrix}, a, b)