Merge pull request #15 from ranjanan/RA/mse

Fix tiny bug in mse cost function
This commit is contained in:
Mike J Innes 2017-04-04 19:23:44 +01:00 committed by GitHub
commit c22561c7eb

View File

@ -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)