Skip to content

Commit aa37fc9

Browse files
committed
remove overrides
1 parent 1322565 commit aa37fc9

File tree

1 file changed

+0
-45
lines changed

1 file changed

+0
-45
lines changed

autofit/mapper/prior/constant.py

Lines changed: 0 additions & 45 deletions
Original file line numberDiff line numberDiff line change
@@ -46,48 +46,3 @@ def __hash__(self):
4646

4747
def dict(self):
4848
return {"type": "Constant", "value": self.value}
49-
50-
def __add__(self, other):
51-
return self.value + other
52-
53-
def __sub__(self, other):
54-
return self.value - other
55-
56-
def __mul__(self, other):
57-
return self.value * other
58-
59-
def __truediv__(self, other):
60-
return self.value / other
61-
62-
def __pow__(self, other):
63-
return self.value**other
64-
65-
def __radd__(self, other):
66-
return other + self.value
67-
68-
def __rsub__(self, other):
69-
return other - self.value
70-
71-
def __rmul__(self, other):
72-
return other * self.value
73-
74-
def __rtruediv__(self, other):
75-
return other / self.value
76-
77-
def __rpow__(self, other):
78-
return other**self.value
79-
80-
def __lt__(self, other):
81-
return self.value < other
82-
83-
def __le__(self, other):
84-
return self.value <= other
85-
86-
def __gt__(self, other):
87-
return self.value > other
88-
89-
def __ge__(self, other):
90-
return self.value >= other
91-
92-
def __float__(self):
93-
return float(self.value)

0 commit comments

Comments
 (0)