Skip to content

Commit 7448d2e

Browse files
authored
rm duplicate topologykind (#1236)
1 parent 7f5f0bf commit 7448d2e

2 files changed

Lines changed: 1 addition & 4 deletions

File tree

src/Deprecated.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -798,4 +798,4 @@ refPoints(state::State) = state.belief.points
798798
refBandwidth(state::State) = state.belief.trailing_forms[1]
799799
refBandwidths(state::State) = SparseArrays.nonzeros(state.belief.trailing_forms)
800800
refObservability(state::State) = state.belief.observability
801-
getTopologyKind(state::State) = state.belief.topologykind
801+
getTopologyKind(state::State) = state.belief.reprkind.topologykind

src/entities/HomotopyDensity.jl

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -80,8 +80,6 @@ provided by AMP for features like pdf evaluation.
8080
how to interpret this object. By analogy, and image is an image, but might be stored bitmap, jpeg, png, and use RGB24, YCbCr, etc."""
8181
reprkind::HomotopyReprDFG{T} =
8282
HomotopyReprDFG(DefaultTopologyKind(), DefaultFormKind(), T(), nothing)
83-
"""A hint for downstream solvers on how to interpret this data (The 'How')"""
84-
topologykind::AbstractHomotopyTopology = DefaultTopologyKind()
8583
"""Stores the amount of information captured in each coordinate dimension."""
8684
observability::Vector{Float64} = Float64[] #zeros(getDimension(T)) #TODO renamed from infoPerCoord in v0.29
8785
"""
@@ -122,7 +120,6 @@ function StructUtils.fielddefaults(
122120
::Type{HomotopyDensityDFG{T, P}},
123121
) where {T, P}
124122
return (
125-
topologykind = DefaultTopologyKind(),
126123
observability = Float64[],
127124
principal_coeffs = Float64[],
128125
principal_elements = P[],

0 commit comments

Comments
 (0)