Skip to content

Commit

Permalink
Update src/Bridges/Constraint/bridges/slack.jl
Browse files Browse the repository at this point in the history
  • Loading branch information
odow authored Jun 16, 2024
1 parent 443c0a6 commit 397b779
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Bridges/Constraint/bridges/slack.jl
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@ function MOI.get(
return nothing
elseif dual isa AbstractVector
scale = MOI.Utilities.SetDotScalingVector{T}(bridge.set)
return dual ./ scale.^2
return dual ./ scale .^ 2

Check warning on line 143 in src/Bridges/Constraint/bridges/slack.jl

View check run for this annotation

Codecov / codecov/patch

src/Bridges/Constraint/bridges/slack.jl#L138-L143

Added lines #L138 - L143 were not covered by tests
end
return dual

Check warning on line 145 in src/Bridges/Constraint/bridges/slack.jl

View check run for this annotation

Codecov / codecov/patch

src/Bridges/Constraint/bridges/slack.jl#L145

Added line #L145 was not covered by tests
end
Expand Down

0 comments on commit 397b779

Please sign in to comment.