Skip to content
This repository was archived by the owner on Jan 30, 2023. It is now read-only.

Commit 008a4c3

Browse files
author
Jean-Pierre Flori
committed
Homogenize the representation of fq_t element.
Maybe not the more efficient way...
1 parent 986a850 commit 008a4c3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/sage/rings/finite_rings/element_flint_fq.pyx

+1-1
Original file line numberDiff line numberDiff line change
@@ -235,7 +235,7 @@ cdef class FiniteFieldElement_flint_fq(FinitePolyExtElement):
235235
sage: c^20 # indirect doctest
236236
c^4 + 2*c^3
237237
"""
238-
return <bytes> fq_get_str_pretty(self.val, self._cparent)
238+
return (<bytes> fq_get_str_pretty(self.val, self._cparent)).replace('+', ' + ')
239239

240240
def __hash__(FiniteFieldElement_flint_fq self):
241241
"""

0 commit comments

Comments
 (0)