File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -13,7 +13,7 @@ using InteractiveUtils
13
13
sessionBlobEntries:: OrderedDict{Symbol, BlobEntry}
14
14
addHistory:: Vector{Symbol}
15
15
solverParams:: T
16
- solverParams_type:: String = string (typeof (solverParams))
16
+ solverParams_type:: String = string (nameof ( typeof (solverParams) ))
17
17
# TODO remove Union.Nothing in DFG v0.24
18
18
typePackedVariable:: Union{Nothing, Bool} = false # Are variables packed or full
19
19
typePackedFactor:: Union{Nothing, Bool} = false # Are factors packed or full
@@ -26,7 +26,7 @@ StructTypes.subtypekey(::Type{PackedGraphsDFG}) = :solverParams_type
26
26
27
27
function StructTypes. subtypes (:: Type{PackedGraphsDFG} )
28
28
subs = subtypes (AbstractParams)
29
- return NamedTuple (map (s -> Symbol (s) => PackedGraphsDFG{s}, subs))
29
+ return NamedTuple (map (s -> nameof (s) => PackedGraphsDFG{s}, subs))
30
30
end
31
31
32
32
_variablestype (fg:: GraphsDFG{<:AbstractParams, T, <:AbstractDFGFactor} ) where {T} = T
You can’t perform that action at this time.
0 commit comments