Skip to content

Commit

Permalink
cf.manifold for CalcFactor
Browse files Browse the repository at this point in the history
  • Loading branch information
dehann committed Oct 12, 2023
1 parent 4c04074 commit 22c541f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/entities/CalcFactor.jl
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ DFG.getDimension(::CalcFactorResidual{FT, C, D, L, P, MEAS, N}) where {FT, C, D,

# workaround for issue #1781
import Base: getproperty
function Base.getproperty(cf::CalcFactorResidual, f::Symbol)
function Base.getproperty(cf::CalcFactor, f::Symbol)
if f === :manifold
# assumes constant propagation to avoid allocations in residual functions getManifold(factor)
getManifold(cf.factor)
Expand Down

0 comments on commit 22c541f

Please sign in to comment.