Skip to content

Commit aa0e08a

Browse files
docs: add docstrings to NonPolynomialReason enum variants
1 parent 1ef1217 commit aa0e08a

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

src/systems/nonlinear/homotopy_continuation.jl

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -96,9 +96,21 @@ end
9696
Possible reasons why a term is not polynomial
9797
"""
9898
EnumX.@enumx NonPolynomialReason begin
99+
"""
100+
Exponent of an expression involving unknowns is not an integer.
101+
"""
99102
NonIntegerExponent
103+
"""
104+
Exponent is an expression containing unknowns.
105+
"""
100106
ExponentContainsUnknowns
107+
"""
108+
The base of an exponent is not a polynomial in the unknowns.
109+
"""
101110
BaseNotPolynomial
111+
"""
112+
An expression involves a non-polynomial operation involving unknowns.
113+
"""
102114
UnrecognizedOperation
103115
end
104116

0 commit comments

Comments
 (0)