Spaces:
Sleeping
Sleeping
MilesCranmer
commited on
Commit
•
4d5aec3
1
Parent(s):
10646c2
Correct sign in torch modulo
Browse files- pysr/export_torch.py +1 -1
pysr/export_torch.py
CHANGED
@@ -76,7 +76,7 @@ def _initialize_torch():
|
|
76 |
sympy.Not: torch.logical_not,
|
77 |
sympy.Max: torch.max,
|
78 |
sympy.Min: torch.min,
|
79 |
-
sympy.Mod: torch.
|
80 |
}
|
81 |
|
82 |
class _Node(torch.nn.Module):
|
|
|
76 |
sympy.Not: torch.logical_not,
|
77 |
sympy.Max: torch.max,
|
78 |
sympy.Min: torch.min,
|
79 |
+
sympy.Mod: torch.remainder,
|
80 |
}
|
81 |
|
82 |
class _Node(torch.nn.Module):
|