diff --git a/src/Deprecated.jl b/src/Deprecated.jl index 0332ba52..a4c76b9e 100644 --- a/src/Deprecated.jl +++ b/src/Deprecated.jl @@ -798,4 +798,4 @@ refPoints(state::State) = state.belief.points refBandwidth(state::State) = state.belief.trailing_forms[1] refBandwidths(state::State) = SparseArrays.nonzeros(state.belief.trailing_forms) refObservability(state::State) = state.belief.observability -getTopologyKind(state::State) = state.belief.topologykind +getTopologyKind(state::State) = state.belief.reprkind.topologykind diff --git a/src/entities/HomotopyDensity.jl b/src/entities/HomotopyDensity.jl index b6d60b51..f7da96ad 100644 --- a/src/entities/HomotopyDensity.jl +++ b/src/entities/HomotopyDensity.jl @@ -80,8 +80,6 @@ provided by AMP for features like pdf evaluation. how to interpret this object. By analogy, and image is an image, but might be stored bitmap, jpeg, png, and use RGB24, YCbCr, etc.""" reprkind::HomotopyReprDFG{T} = HomotopyReprDFG(DefaultTopologyKind(), DefaultFormKind(), T(), nothing) - """A hint for downstream solvers on how to interpret this data (The 'How')""" - topologykind::AbstractHomotopyTopology = DefaultTopologyKind() """Stores the amount of information captured in each coordinate dimension.""" observability::Vector{Float64} = Float64[] #zeros(getDimension(T)) #TODO renamed from infoPerCoord in v0.29 """ @@ -122,7 +120,6 @@ function StructUtils.fielddefaults( ::Type{HomotopyDensityDFG{T, P}}, ) where {T, P} return ( - topologykind = DefaultTopologyKind(), observability = Float64[], principal_coeffs = Float64[], principal_elements = P[],