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

Commit

Permalink
Trac #30266: ValueError replaced by AssertionError
Browse files Browse the repository at this point in the history
  • Loading branch information
Michael Jung committed Aug 5, 2020
1 parent 02726e2 commit 81e67cf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/sage/tensor/modules/free_module_tensor.py
Expand Up @@ -2379,7 +2379,7 @@ def __call__(self, *args):
resu_latex_name = self._latex_name + r"\left("
resu_latex_name += vector._latex_name + r"\right)"
resu.set_name(name=resu_name, latex_name=resu_latex_name)
except (AttributeError, ValueError):
except (AttributeError, AssertionError):
pass
return resu
#
Expand Down

0 comments on commit 81e67cf

Please sign in to comment.