Skip to content

Commit

Permalink
[Utilties] don't throw UnsupportedAttribute in pass_attributes (#1656)
Browse files Browse the repository at this point in the history
  • Loading branch information
odow authored Nov 15, 2021
1 parent 5d2ddbe commit 1a3c637
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions src/Utilities/copy.jl
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@ function pass_attributes(
if attr == MOI.Name()
continue # Skipping names is okay.
end
throw(MOI.UnsupportedAttribute(attr))
end
_pass_attribute(dest, src, index_map, attr)
end
Expand Down Expand Up @@ -66,7 +65,6 @@ function pass_attributes(
if attr == MOI.VariableName() || attr == MOI.VariablePrimalStart()
continue # Skipping names and start values is okay.
end
throw(MOI.UnsupportedAttribute(attr))
end
_pass_attribute(dest, src, index_map, vis_src, attr)
end
Expand Down Expand Up @@ -115,7 +113,6 @@ function pass_attributes(
)
continue # Skipping names and start values is okay.
end
throw(MOI.UnsupportedAttribute(attr))
end
_pass_attribute(dest, src, index_map, cis_src, attr)
end
Expand Down

0 comments on commit 1a3c637

Please sign in to comment.