Skip to content

Commit abfe956

Browse files
authored
Merge pull request #2 from c-allergic/xf/show_configs
Correct the `show_configs` function
2 parents 1eaef5c + 57a682b commit abfe956

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/visualize.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ end
105105
106106
Show a gallery of configurations on a graph.
107107
"""
108-
function show_configs(gp::ConstraintSatisfactionProblem, locs, configs::AbstractMatrix; kwargs...)
108+
function show_configs(gp::Union{Coloring,DominatingSet,IndependentSet,Matching,MaxCut,MaximalIndependentSet,SpinGlass}, locs, configs::AbstractMatrix; kwargs...)
109109
show_configs(gp.graph, locs, configs; num_flavors=num_flavors(gp), kwargs...)
110110
end
111111
function show_configs(graph::SimpleGraph, locs, configs::AbstractMatrix;

0 commit comments

Comments
 (0)