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)