Skip to content

Commit a113a4d

Browse files
committed
Fixing subgraph
1 parent 4172150 commit a113a4d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/services/GraphsDFG.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -328,7 +328,7 @@ function _copyIntoGraph!(sourceDFG::GraphsDFG, destDFG::GraphsDFG, variableFacto
328328

329329
# Only if we have all of them should we add it (otherwise strange things may happen on evaluation)
330330
if includeOrphanFactors || length(factVariables) == length(variables)
331-
addFactor!(destDFG, deepcopy(factor.dfgNode), factVariables)
331+
addFactor!(destDFG, factVariables, deepcopy(factor.dfgNode))
332332
end
333333
end
334334
end

0 commit comments

Comments
 (0)