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

Commit 0f55b76

Browse files
committed
More real -> Float porting
1 parent 921cc31 commit 0f55b76

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/sage/interfaces/singular.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1750,7 +1750,7 @@ def sage_poly(self, R=None, kcache=None):
17501750

17511751
# Singular 4 puts parentheses around floats and sign outside them
17521752
charstr = self.parent().eval('charstr(basering)').split(',',1)
1753-
if charstr[0] in ['real', 'complex']:
1753+
if charstr[0]=='complex' or charstr[0].startswith('Float'):
17541754
for i in range(coeff_start, 2 * coeff_start):
17551755
singular_poly_list[i] = singular_poly_list[i].replace('(','').replace(')','')
17561756

0 commit comments

Comments
 (0)