Skip to content

Commit

Permalink
fix tests for v0.6
Browse files Browse the repository at this point in the history
  • Loading branch information
ahwillia committed Oct 18, 2016
1 parent 0896b4c commit 238d24d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/tst_loss.jl
Expand Up @@ -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

Expand All @@ -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

0 comments on commit 238d24d

Please sign in to comment.