Skip to content

Commit 25b2bcb

Browse files
authored
Merge pull request #733 from JuliaRobotics/bugfix/21Q1/fixesforj1.6beta
Fix isPathFactorsHomogeneous
2 parents 3691cbf + 26427ba commit 25b2bcb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/services/AbstractDFG.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1099,7 +1099,7 @@ Related
10991099
function isPathFactorsHomogeneous(dfg::AbstractDFG, from::Symbol, to::Symbol)
11001100
# FIXME, must consider all paths, not just shortest...
11011101
pth = intersect(findShortestPathDijkstra(dfg, from, to), lsf(dfg))
1102-
types = getFactorType.(dfg, pth) .|> typeof .|> nameof
1102+
types = getFactorType.(dfg, pth) .|> typeof .|> x->(x).name #TODO this might not be correct in julia 1.6
11031103
utyp = unique(types)
11041104
(length(utyp) == 1), utyp
11051105
end

0 commit comments

Comments
 (0)