Skip to content

Commit

Permalink
Trac #18495: Call Element.__init__ directly for RealBall
Browse files Browse the repository at this point in the history
Instead of calling super(ComplexBall, self).__init__(parent), call
Element.__init__(self, parent), see
http://trac.sagemath.org/ticket/17218#comment:14 .
  • Loading branch information
cheuberg committed May 25, 2015
1 parent 86787f2 commit 3cfb945
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/sage/rings/real_arb.pyx
Original file line number Diff line number Diff line change
Expand Up @@ -931,7 +931,7 @@ cdef class RealBall(RingElement):
cdef arf_t tmpr
cdef mag_t tmpm

super(RealBall, self).__init__(parent)
Element.__init__(self, parent)

if mid is None:
return
Expand Down

0 comments on commit 3cfb945

Please sign in to comment.