Skip to content

Commit a8e8eaf

Browse files
committed
basis default orthonormal, not orthogonal
1 parent 2e862bc commit a8e8eaf

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/ParametricManoptDev.jl

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -40,11 +40,11 @@ function CalcFactorManopt(fct::DFGFactor, varIntLabel)
4040
if fac_func isa ManifoldPrior
4141
meas = _meas # already a point on M
4242
elseif fac_func isa AbstractPrior
43-
X = get_vector(M, ϵ, _meas, DefaultOrthogonalBasis())
43+
X = get_vector(M, ϵ, _meas, DefaultOrthonormalBasis())
4444
meas = exp(M, ϵ, X) # convert to point on M
4545
else
4646
# its a relative factor so should be a tangent vector
47-
meas = convert(typeof(ϵ), get_vector(M, ϵ, _meas, DefaultOrthogonalBasis()))
47+
meas = convert(typeof(ϵ), get_vector(M, ϵ, _meas, DefaultOrthonormalBasis()))
4848
end
4949

5050
# make sure its an SMatrix
@@ -97,7 +97,7 @@ struct JacF_RLM!{CF, T}
9797
res::Vector{Float64}
9898
end
9999

100-
function JacF_RLM!(M, costF!; basis_domain::AbstractBasis = DefaultOrthogonalBasis())
100+
function JacF_RLM!(M, costF!; basis_domain::AbstractBasis = DefaultOrthonormalBasis())
101101

102102
p = costF!.points
103103

@@ -122,7 +122,7 @@ function (jacF!::JacF_RLM!)(
122122
M::AbstractManifold,
123123
J,
124124
p;
125-
basis_domain::AbstractBasis = DefaultOrthogonalBasis(),
125+
basis_domain::AbstractBasis = DefaultOrthonormalBasis(),
126126
)
127127

128128
X0 = jacF!.X0

0 commit comments

Comments
 (0)