Skip to content

Commit

Permalink
Update src/sage/rings/function_field/drinfeld_modules/finite_drinfeld…
Browse files Browse the repository at this point in the history
…_module.py

Co-authored-by: Xavier Caruso <xcaruso@users.noreply.github.com>
  • Loading branch information
kryzar and xcaruso authored Aug 9, 2024
1 parent 01e5889 commit b632a75
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -467,8 +467,8 @@ def frobenius_charpoly(self, var='X', algorithm=None):
method_name = f'_frobenius_charpoly_{algorithm}'
if not hasattr(self, method_name):
raise NotImplementedError(f'algorithm "{algorithm}" not implemented')
self._frobenius_charpoly = getattr(self, method_name)(var)
return self._frobenius_charpoly
self._frobenius_charpoly = getattr(self, method_name)
return self._frobenius_charpoly.change_variable_name(var)

@cached_method
def _frobenius_charpoly_CSA(self, var='X'):
Expand Down

0 comments on commit b632a75

Please sign in to comment.