Skip to content

Commit

Permalink
Force svector for performance
Browse files Browse the repository at this point in the history
  • Loading branch information
Affie committed Oct 16, 2023
1 parent 0888e90 commit caa397a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/services/NumericalCalculations.jl
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ end
function (hypoCalcFactor::CalcFactorNormSq)(M::AbstractManifold, Xc::AbstractVector)
# hypoCalcFactor.manifold is the factor's manifold, not the variable's manifold that is needed here
ϵ = getPointIdentity(M)
X = get_vector(M, ϵ, Xc, DefaultOrthogonalBasis())
X = get_vector(M, ϵ, SVector(Xc), DefaultOrthogonalBasis())
p = exp(M, ϵ, X)
return hypoCalcFactor(CalcConv, p)
end
Expand Down

0 comments on commit caa397a

Please sign in to comment.