From 238d24d40d1a4f041d766325585189fce44ef7bd Mon Sep 17 00:00:00 2001 From: Alex Williams Date: Tue, 18 Oct 2016 16:21:33 -0700 Subject: [PATCH] fix tests for v0.6 --- test/tst_loss.jl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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