From c773229136596bd85f6359a858f2d12b16faf4cb Mon Sep 17 00:00:00 2001 From: ranjanan Date: Thu, 30 Mar 2017 12:09:40 +0530 Subject: [PATCH] Fix tiny bug in mse cost function --- src/cost.jl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/cost.jl b/src/cost.jl index 34267202..b99a9c40 100644 --- a/src/cost.jl +++ b/src/cost.jl @@ -5,4 +5,4 @@ function mse!(Δ, pred, target) sumabs2(Δ)/2 end -mse(pred, target) = mse(similar(pred), pred, target) +mse(pred, target) = mse!(similar(pred), pred, target)