Skip to content

Commit

Permalink
fixed minor import bug test_torch.py
Browse files Browse the repository at this point in the history
  • Loading branch information
tbuckworth authored Sep 30, 2024
1 parent 7dcf786 commit 8e56560
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pysr/test/test_torch.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ def test_sympy2torch(self):

def test_sympy2torch_number_symbol(self):
x, y, z = sympy.symbols("x y z")
expr = sin(sign(-0.041662704))
expr = sympy.sin(sympy.sign(-0.041662704))

X = self.torch.tensor(np.random.randn(1000, 3))
true = self.torch.sin(self.torch.tensor(-1))
Expand Down

0 comments on commit 8e56560

Please sign in to comment.