Skip to content

Commit

Permalink
Fix index typo and bump version (#96)
Browse files Browse the repository at this point in the history
* Fix BoundsError
* Bump version
  • Loading branch information
devmotion authored Apr 21, 2021
1 parent 3a8a137 commit 43d9250
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion Project.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name = "Tulip"
uuid = "6dd1b50a-3aae-11e9-10b5-ef983d2400fa"
authors = ["Mathieu Tanneau <[email protected]>"]
version = "0.7.3"
version = "0.7.4"

[deps]
CodecBzip2 = "523fee87-0ab8-5b00-afb7-3ecf72e48cfd"
Expand Down
4 changes: 2 additions & 2 deletions src/Presolve/empty_row.jl
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ function remove_empty_row!(ps::PresolveData{T}, i::Int) where{T}
ps.solution.is_dual_ray = true
ps.solution.z_primal = ps.solution.z_dual = T(Inf)
i_ = ps.new_con_idx[i]
ps.solution.y_upper[i] = one(T)
ps.solution.y_upper[i_] = one(T)
return
elseif lb > zero(T)
@debug "Row $i is primal infeasible"
Expand Down Expand Up @@ -74,4 +74,4 @@ function postsolve!(sol::Solution{T}, op::EmptyRow{T}) where{T}
sol.y_lower[op.i] = pos_part(op.y)
sol.y_upper[op.i] = neg_part(op.y)
return nothing
end
end
2 changes: 1 addition & 1 deletion src/Tulip.jl
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ using SparseArrays

using TimerOutputs

version() = v"0.7.3"
version() = v"0.7.4"

include("utils.jl")

Expand Down

2 comments on commit 43d9250

@mtanneau
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@JuliaRegistrator register()

@JuliaRegistrator
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Registration pull request created: JuliaRegistries/General/34846

After the above pull request is merged, it is recommended that a tag is created on this repository for the registered package version.

This will be done automatically if the Julia TagBot GitHub Action is installed, or can be done manually through the github interface, or via:

git tag -a v0.7.4 -m "<description of version>" 43d925046770dc2f0d661ac8ebdf8d9663731f92
git push origin v0.7.4

Please sign in to comment.