Skip to content

Commit cb99e9e

Browse files
xcarusomantepse
andauthored
remove useless else in coeff_exp
Co-authored-by: Martin Rubey <[email protected]>
1 parent f182fda commit cb99e9e

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

src/sage/rings/function_field/drinfeld_modules/charzero_drinfeld_module.py

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -356,9 +356,8 @@ def coeff_log(k):
356356
if prec is Infinity:
357357
L = LazyPowerSeriesRing(self._base, name)
358358
return L(coeff_log, valuation=1)
359-
else:
360-
L = PowerSeriesRing(self._base, name, default_prec=prec)
361-
return L([0] + [coeff_log(i) for i in range(1, prec)], prec=prec)
359+
L = PowerSeriesRing(self._base, name, default_prec=prec)
360+
return L([0] + [coeff_log(i) for i in range(1, prec)], prec=prec)
362361

363362
@cached_method
364363
def _compute_goss_polynomial(self, n, q, poly_ring, X):

0 commit comments

Comments
 (0)