Skip to content

Commit 3ff9396

Browse files
committed
Minors reflecting changes.
1 parent 6fff0be commit 3ff9396

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

src/main/annealing.jl

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -37,9 +37,9 @@ Runs the simulated annealing method starting from network `I0`. Only sensible if
3737
# Examples
3838
```julia
3939
# Nonconvex case, disabling automatic annealing
40-
param = init_parameters(K = 10, annealing = false, gamma = 2)
41-
param, graph = create_graph(param)
42-
param[:Zjn][61] = 10.0
40+
param = init_parameters(K = 10, gamma = 2, annealing = false)
41+
graph = create_graph(param)
42+
graph[:Zjn][61] = 10.0
4343
results = optimal_network(param, graph)
4444
4545
# Run annealing
@@ -103,7 +103,7 @@ function annealing(param, graph, I0; kwargs...)
103103
# TODO: set IO (kappa_ex)?
104104
else
105105
auxdata = create_auxdata(param, graph, edges, I0)
106-
model, recover_allocation = get_model(param, auxdata)
106+
model, recover_allocation = get_model(auxdata)
107107
end
108108

109109
if !options.verbose

0 commit comments

Comments
 (0)