Skip to content

Commit

Permalink
Update sets_graph.jl
Browse files Browse the repository at this point in the history
  • Loading branch information
dourouc05 committed Oct 30, 2021
1 parent cd7ef97 commit 96a3ef5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/sets_graph.jl
Expand Up @@ -222,7 +222,7 @@ function MOI.dimension(set::Walk{VWT, EWT, WT, WST, WsT, WtT, T}) where {VWT, EW
if VWT == FIXED_WEIGHT_VERTEX
dim += 1
elseif VWT == VARIABLE_WEIGHT_VERTEX
dim += set.n_nodes
dim += set.n_nodes + 1
end

if EWT == FIXED_WEIGHT_EDGE
Expand Down

0 comments on commit 96a3ef5

Please sign in to comment.