Skip to content

Commit 8f1052c

Browse files
committed
Add __repr__ to LuoEtAl2006UniformSpace
1 parent f24eed8 commit 8f1052c

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

pycam02ucs/luoetal2006.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,11 @@ def __init__(self, KL, c1, c2):
1212
self.c1 = c1
1313
self.c2 = c2
1414

15+
def __repr__(self):
16+
return "%s(%r, %r, %r)" % (
17+
self.__class__.__name__,
18+
self.KL, self.c1, self.c2)
19+
1520
def JMh_to_Jpapbp(self, JMh):
1621
JMh = np.asarray(JMh, dtype=float)
1722
J = JMh[..., 0]

0 commit comments

Comments
 (0)