Skip to content

Commit 2636cdc

Browse files
committed
fix: tolerances
1 parent 4cb5282 commit 2636cdc

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

test/axon/compiler_test.exs

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4193,7 +4193,11 @@ defmodule CompilerTest do
41934193
enc = {eik, ehk, eb}
41944194
dec = {dik, dhk, db}
41954195

4196-
assert_equal(predict_fn.(params, input), equiv_fn.(input, enc, dec))
4196+
assert_all_close(
4197+
predict_fn.(params, input),
4198+
equiv_fn.(input, enc, dec),
4199+
atol: 1.0e-7
4200+
)
41974201
end
41984202

41994203
test "initializes with use_bias false" do

0 commit comments

Comments
 (0)