Skip to content

Commit a15bf1a

Browse files
authored
Merge pull request #1701 from JuliaRobotics/23Q2/maint/dfg21
VND constructor for dfg21
2 parents 9fc1e3d + d7642c6 commit a15bf1a

File tree

2 files changed

+3
-5
lines changed

2 files changed

+3
-5
lines changed

Project.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ ApproxManifoldProducts = "0.6.3"
5252
BSON = "0.2, 0.3"
5353
Combinatorics = "1.0"
5454
DataStructures = "0.16, 0.17, 0.18"
55-
DistributedFactorGraphs = "0.20"
55+
DistributedFactorGraphs = "0.21"
5656
Distributions = "0.24, 0.25"
5757
DocStringExtensions = "0.8, 0.9"
5858
FileIO = "1"

src/services/FactorGraph.jl

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -388,7 +388,7 @@ function DefaultNodeDataParametric(
388388
else
389389
# dimIDs = round.(Int, range(dodims; stop = dodims + dims - 1, length = dims))
390390
ϵ = getPointIdentity(variableType)
391-
return VariableNodeData(;
391+
return VariableNodeData(variableType;
392392
id=nothing,
393393
val=[ϵ],
394394
bw=zeros(dims, dims),
@@ -398,7 +398,6 @@ function DefaultNodeDataParametric(
398398
# false,
399399
# :_null,
400400
# Symbol[],
401-
variableType,
402401
initialized=false,
403402
infoPerCoord=zeros(dims),
404403
ismargin=false,
@@ -474,7 +473,7 @@ function setDefaultNodeData!(
474473
# make and set the new solverData
475474
setSolverData!(
476475
v,
477-
VariableNodeData(;
476+
VariableNodeData(varType;
478477
id=nothing,
479478
val,
480479
bw,
@@ -484,7 +483,6 @@ function setDefaultNodeData!(
484483
# false,
485484
# :_null,
486485
# Symbol[],
487-
variableType=varType,
488486
initialized=isinit,
489487
infoPerCoord=zeros(getDimension(v)),
490488
ismargin=false,

0 commit comments

Comments
 (0)