Skip to content

Commit

Permalink
Merge branch 'ideal_to_cat' into ideal_to_cat_remove_dead_code
Browse files Browse the repository at this point in the history
  • Loading branch information
mantepse committed Oct 31, 2024
2 parents 0568216 + d0b6b14 commit 8f8ba75
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/sage/categories/rings.py
Original file line number Diff line number Diff line change
Expand Up @@ -924,7 +924,7 @@ def ideal(self, *args, **kwds):
else:
break

if len(gens) == 0:
if not gens:
gens = [self.zero()]
elif coerce:
gens = [self(g) for g in gens]
Expand Down

0 comments on commit 8f8ba75

Please sign in to comment.