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 .

URL: http://trac.sagemath.org/18495
Reported by: cheuberg
Ticket author(s): Clemens Heuberger
Reviewer(s): Vincent Delecroix
  • Loading branch information
Release Manager authored and vbraun committed May 25, 2015
2 parents 29bd025 + 3cfb945 commit 49e609e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/sage/rings/real_arb.pyx
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 49e609e

Please sign in to comment.