Skip to content

Commit e8a8ce1

Browse files
authored
Merge pull request #807 from JuliaRobotics/master
v0.16.1-rc1
2 parents 8d89bad + 94fcd59 commit e8a8ce1

File tree

3 files changed

+5
-1
lines changed

3 files changed

+5
-1
lines changed

Project.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
name = "DistributedFactorGraphs"
22
uuid = "b5cc3c7e-6572-11e9-2517-99fb8daf2f04"
3-
version = "0.16.0"
3+
version = "0.16.1"
44

55
[deps]
66
Base64 = "2a0f44e3-6c83-55bd-87e4-b1978d98bd5f"

src/services/DFGVariable.jl

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -102,6 +102,8 @@ macro defVariable(structname, manifold, point_identity)
102102

103103
DFG.getPointIdentity(::Type{$structname}) = $point_identity
104104

105+
DFG.getVariableType(::typeof($manifold)) = $structname
106+
105107
end)
106108
end
107109

src/services/Serialization.jl

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,8 @@ function typeModuleName(variableType::InferenceVariable)
7474
return String(take!(io))
7575
end
7676

77+
typeModuleName(varT::Type{<:InferenceVariable}) = typeModuleName(varT())
78+
7779
function getTypeFromSerializationModule(variableTypeString::String)
7880
try
7981
# split the type at last `.`

0 commit comments

Comments
 (0)