Skip to content

Commit dd96ff6

Browse files
committed
Format
1 parent ce0012c commit dd96ff6

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/graph_engine.jl

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1461,8 +1461,6 @@ function add_variable_node!(model::Model, context::Context, name::Symbol, index)
14611461
end
14621462

14631463
function add_variable_node!(model::Model, context::Context, options::NodeCreationOptions, name::Symbol, index)
1464-
1465-
# In theory plugins are able to overwrite this
14661464
label = __add_variable_node!(model, context, options, name, index)
14671465
context[name, index] = label
14681466
end
@@ -1473,6 +1471,7 @@ function add_constant_node!(model::Model, context::Context, options::NodeCreatio
14731471
end
14741472

14751473
function __add_variable_node!(model::Model, context::Context, options::NodeCreationOptions, name::Symbol, index)
1474+
# In theory plugins are able to overwrite this
14761475
potential_label = generate_nodelabel(model, name)
14771476
potential_nodedata = NodeData(context, convert(VariableNodeProperties, name, index, options))
14781477
label, nodedata = preprocess_plugins(

0 commit comments

Comments
 (0)