-
-
Notifications
You must be signed in to change notification settings - Fork 702
Closed
Description
Consider the following (Sage 4.7alpha1) :
sage: P.<a> = QQ[]
sage: P.ideal([])
Booom!
The issue is twofold: The ideal method in rings/rings.py is called and does not accept an empty list. But also the univariate polynomial rings should call a specialized method just like the multivariate ones do.
It worked in earlier versions (like 4.2 or so) and is a construction that easily comes up as a corner case.
Apply attachment: 11139_alternative.patch.
Component: commutative algebra
Author: Martin Raum, Jeroen Demeyer
Reviewer: John Palmieri, Martin Raum
Merged: sage-4.7.1.alpha1
Issue created by migration from https://trac.sagemath.org/ticket/11139