diff --git a/test/tst_loss.jl b/test/tst_loss.jl index 166ae11..81990df 100644 --- a/test/tst_loss.jl +++ b/test/tst_loss.jl @@ -409,7 +409,7 @@ end output = randn(N) for loss in margin_losses - @test isapprox(value(loss,sparse_target,output), value(loss,target,output)) + @test isapprox(LossFunctions.value(loss,sparse_target,output), LossFunctions.value(loss,target,output)) end end @@ -428,7 +428,7 @@ end output = randn(N,N) for loss in margin_losses - @test isapprox(value(loss,sparse_target,output), value(loss,target,output)) + @test isapprox(LossFunctions.value(loss,sparse_target,output), LossFunctions.value(loss,target,output)) end end end