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

Commit

Permalink
trac 30035 add indirect doctest
Browse files Browse the repository at this point in the history
  • Loading branch information
fchapoton committed Jul 1, 2020
1 parent cfc52e9 commit 7c7fc38
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions src/sage/rings/invariants/invariant_theory.py
Expand Up @@ -806,6 +806,16 @@ def _extract_coefficients(self, monomials):
Traceback (most recent call last):
...
ValueError: less monomials were passed than the form actually has
TESTS:
Check for :trac:`30035`::
sage: R.<a,b,c> = QQ[]
sage: f = 3*a**3+b**3+a*b*c
sage: T = invariant_theory.ternary_cubic(f)
sage: T.S_invariant().parent()
Rational Field
"""
R = self._ring
Rgens = R.gens()
Expand Down

0 comments on commit 7c7fc38

Please sign in to comment.