Skip to content

Commit 16b3e3e

Browse files
committed
Need display().
1 parent 6cb1674 commit 16b3e3e

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

src/main/annealing.jl

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -143,7 +143,7 @@ function annealing(param, graph, I0; kwargs...)
143143
end
144144

145145
if options.display
146-
plot_graph(graph, I1)
146+
display(plot_graph(graph, I1))
147147
end
148148

149149
if param.verbose
@@ -214,7 +214,7 @@ function annealing(param, graph, I0; kwargs...)
214214
# DISPLAY STATUS
215215

216216
if options.display
217-
plot_graph(graph, I1, node_sizes = results[:Lj])
217+
display(plot_graph(graph, I1, node_sizes = results[:Lj]))
218218
end
219219

220220
if param.verbose
@@ -248,7 +248,7 @@ function annealing(param, graph, I0; kwargs...)
248248
end
249249

250250
if options.display
251-
plot_graph(graph, I0, node_sizes = results[:Lj])
251+
display(plot_graph(graph, I0, node_sizes = results[:Lj]))
252252
end
253253

254254
if score > best_score

0 commit comments

Comments
 (0)