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

Commit

Permalink
Trac #30191: != [] removal reverted
Browse files Browse the repository at this point in the history
  • Loading branch information
Michael Jung committed Jul 22, 2020
1 parent fe43915 commit 461ff65
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/sage/manifolds/differentiable/multivector_module.py
Original file line number Diff line number Diff line change
Expand Up @@ -743,7 +743,7 @@ def _element_constructor_(self, comp=[], frame=None, name=None,
# standard construction
resu = self.element_class(self._fmodule, self._degree, name=name,
latex_name=latex_name)
if comp:
if comp != []:
resu.set_comp(frame)[:] = comp
return resu

Expand Down

0 comments on commit 461ff65

Please sign in to comment.