Skip to content

Commit

Permalink
fixed unqused variable
Browse files Browse the repository at this point in the history
  • Loading branch information
Mateusz Kopcinski authored and Mateusz Kopcinski committed Aug 20, 2024
1 parent 4e92631 commit 87972af
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/support/exvision/test_utils.ex
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ defmodule ExVision.TestUtils do

defmacro assert_tensors_equal(a, b, delta \\ @default_delta) do
quote do
assert Nx.all_close(unquote(a), unquote(b)) |> Nx.reduce_min() |> Nx.to_number() == 1
assert Nx.all_close(unquote(a), unquote(b), atol: unquote(delta)) |> Nx.reduce_min() |> Nx.to_number() == 1
end
end

Expand Down

0 comments on commit 87972af

Please sign in to comment.