Skip to content

Commit

Permalink
minor cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
pulsipher committed Jul 29, 2024
1 parent a696857 commit cb76098
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/TranscriptionOpt/model.jl
Original file line number Diff line number Diff line change
Expand Up @@ -247,7 +247,6 @@ function _truncate_by_label(
label,
::Nothing
) where {T, N}
# TODO carefully revise the logic behind the interesection of different axes
return arr[(map(s -> any(l -> l <: label, s), sets) for sets in labels)...]
end

Expand Down Expand Up @@ -715,8 +714,7 @@ end
InfiniteOpt.transformation_expression(
expr::JuMP.AbstractJuMPScalar,
backend::TranscriptionBackend;
[label::Type{<:InfiniteOpt.AbstractSupportLabel} = InfiniteOpt.PublicLabel,
ndarray::Bool = false]
[label::Type{<:InfiniteOpt.AbstractSupportLabel} = InfiniteOpt.PublicLabel]
)
Proper extension of [`InfiniteOpt.transformation_expression`](@ref) for
Expand Down

0 comments on commit cb76098

Please sign in to comment.