Skip to content

Commit

Permalink
fix typo again
Browse files Browse the repository at this point in the history
  • Loading branch information
mofeing committed Nov 3, 2024
1 parent ab8c7f4 commit b7010ba
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ext/TenetChainRulesTestUtilsExt.jl
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,6 @@ function ChainRulesTestUtils.rand_tangent(rng::AbstractRNG, tn::Ansatz)
end

ChainRulesTestUtils.rand_tangent(::AbstractRNG, lattice::Tenet.Lattice) = NoTangent()
ChainRulesTestUtils.test_approx(actual::Lattice, expected::Lattice, msg; kwargs...) = actual == expected
ChainRulesTestUtils.test_approx(actual::Tenet.Lattice, expected::Tenet.Lattice, msg; kwargs...) = actual == expected

end

0 comments on commit b7010ba

Please sign in to comment.