Skip to content

Commit

Permalink
Add false negative test
Browse files Browse the repository at this point in the history
  • Loading branch information
kit1980 committed Sep 17, 2024
1 parent 7994bd9 commit 6904aef
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions tests/fixtures/misc/checker/log1p.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,6 @@
c = torch.log(a + 1)
b = torch.log(1.0 + a)
c = torch.log(a + 1.0)

# False negative: can not detect currently
x = (a + 1).log()

0 comments on commit 6904aef

Please sign in to comment.