Skip to content

Commit

Permalink
Merge pull request #12 from mckib2/dbl-bnds-fix
Browse files Browse the repository at this point in the history
Bounds fixes; Python 3.5 EOL
  • Loading branch information
mckib2 authored Oct 29, 2020
2 parents 3c48c8f + aacff0d commit 9ac335a
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/github-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ on:
- published

env:
CIBW_SKIP: cp27-* pp27-* # skip python2.7 builds
CIBW_SKIP: cp27-* pp27-* cp35-* # skip python2.7 builds, python3.5 EOL

jobs:
build_wheels:
Expand Down
2 changes: 1 addition & 1 deletion glpk/_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ def _convert_bounds(processed_bounds):
elif ub in {np.inf, None}:
# lb <= x < inf
bounds[ii] = (GLPK.GLP_LO, lb, 0)
elif ub < lb:
elif lb < ub:
# lb <= x <= ub
bounds[ii] = (GLPK.GLP_DB, lb, ub)
else:
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ def get_export_symbols(self, ext):

setup(
name='scikit-glpk',
version='0.3.0',
version='0.3.1',
author='Nicholas McKibben',
author_email='[email protected]',
url='https://github.com/mckib2/scikit-glpk',
Expand Down

0 comments on commit 9ac335a

Please sign in to comment.