Skip to content

Commit ea28fc9

Browse files
authored
Apply suggestions from code review
1 parent 6585e0e commit ea28fc9

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

ext/ManoptJuMPExt.jl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ function MOI.dimension(set::VectorizedManifold)
2929
return prod(ManifoldsBase.representation_size(set.manifold))
3030
end
3131

32-
struct RiemannianFunction{MO<:ManifoldsBase.AbstractManifoldObjective} <: MOI.AbstractScalarFunction
32+
struct RiemannianFunction{MO<:Manopt.AbstractManifoldObjective} <: MOI.AbstractScalarFunction
3333
func::MO
3434
end
3535

@@ -45,7 +45,7 @@ mutable struct Optimizer <: MOI.AbstractOptimizer
4545
# Sense of the optimization, that is whether it is for example min, max or no objective
4646
sense::MOI.OptimizationSense
4747
# Objective function of the optimization
48-
objective::ManifoldsBase.AbstractManifoldObjective
48+
objective::Manopt.AbstractManifoldObjective
4949
# Solver parameters set with `MOI.RawOptimizerAttribute`
5050
options::Dict{String,Any}
5151
function Optimizer()

0 commit comments

Comments
 (0)