Skip to content

Commit

Permalink
fixing mistake added by antonys suggestion
Browse files Browse the repository at this point in the history
  • Loading branch information
Sequenzer committed Jul 12, 2024
1 parent 51d61af commit 3307d4f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Serialization/Combinatorics.jl
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ end
@register_serialization_type Matroid "Matroid"

function save_object(s::SerializerState, m::Matroid)
@req groundset(m) isa Vector{Int} "Groundset must be a Vector{Int}"
@req matroid_groundset(m) isa Vector{Int} "Groundset must be a Vector{Int}"

save_data_dict(s) do
save_object(s, pm_object(m), :matroid)
Expand Down

0 comments on commit 3307d4f

Please sign in to comment.