Skip to content

Commit ec4a296

Browse files
authored
Fix minor typo in docstring (#325)
1 parent 6ad333b commit ec4a296

File tree

3 files changed

+3
-2
lines changed

3 files changed

+3
-2
lines changed

src/Bridges/Constraint/sos_polynomial.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ function MOI.Bridges.Constraint.bridge_constraint(
4444
# As `*(::MOI.ScalarAffineFunction{T}, ::S)` is only defined if `S == T`, we
4545
# need to call `similar`. This is critical since `T` is
4646
# `Float64` when used with JuMP and the coefficient type is often `Int` if
47-
# `set.domain.V` is `FullSpace` or `FixedPolynomialsSet`.
47+
# `set.domain.V` is `FullSpace` or `FixedPolynomialSet`.
4848
# FIXME convert needed because the coefficient type of `r` is `Any` otherwise if `domain` is `AlgebraicSet`
4949
r = SOS.Certificate.reduced_polynomial(
5050
s.certificate,

src/Bridges/Constraint/sos_polynomial_in_semialgebraic_set.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ function MOI.Bridges.Constraint.bridge_constraint(
7070
# As `*(::MOI.ScalarAffineFunction{T}, ::S)` is only defined if `S == T`, we
7171
# need to call `similar`. This is critical since `T` is
7272
# `Float64` when used with JuMP and the coefficient type is often `Int` if
73-
# `set.domain.V` is `FullSpace` or `FixedPolynomialsSet`.
73+
# `set.domain.V` is `FullSpace` or `FixedPolynomialSet`.
7474
g = Certificate.generator(set.certificate, index, preprocessed)
7575
# TODO replace with `MA.sub_mul` when it works.
7676
p = MA.operate!!(MA.add_mul, p, -one(T), λ, similar(g, T))

src/attributes.jl

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ GramMatrixAttribute() = GramMatrixAttribute(1)
2323
struct SOSDecompositionAttribute
2424
ranktol::Real
2525
dec::MultivariateMoments.LowRankLDLTAlgorithm
26+
result_index::Int
2627
end
2728
2829
A constraint attribute for the [`SOSDecomposition`](@ref) of a constraint.

0 commit comments

Comments
 (0)