Skip to content

Commit e73933d

Browse files
authored
Merge pull request #569 from JuliaRobotics/revert/20Q3/softtype#568
Revert getSofttype to return in full
2 parents ca9e659 + b95990b commit e73933d

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/services/DFGVariable.jl

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,8 @@ function getSofttype(vnd::VariableNodeData)
3838
end
3939

4040
# TODO: Confirm that we can switch this out, instead of retrieving the complete variable.
41-
getSofttype(v::DFGVariable{T}) where T <: InferenceVariable = T()
41+
# getSofttype(v::DFGVariable{T}) where T <: InferenceVariable = T()
42+
getSofttype(v::DFGVariable) = getSofttype(getSolverData(v))
4243

4344
# Optimized in CGDFG
4445
getSofttype(dfg::AbstractDFG, lbl::Symbol) = getSofttype(getVariable(dfg,lbl))

0 commit comments

Comments
 (0)