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

Commit

Permalink
More real -> Float porting
Browse files Browse the repository at this point in the history
  • Loading branch information
antonio-rojas committed Jul 24, 2018
1 parent 921cc31 commit 0f55b76
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/sage/interfaces/singular.py
Expand Up @@ -1750,7 +1750,7 @@ def sage_poly(self, R=None, kcache=None):

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

Expand Down

0 comments on commit 0f55b76

Please sign in to comment.