Skip to content

Commit

Permalink
Yet another map function.
Browse files Browse the repository at this point in the history
  • Loading branch information
shyuep committed Sep 8, 2014
1 parent 5d14c68 commit c92afd0
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
language: python
python:
- "2.6"
- "2.7"
- "3.1"
- "3.2"
Expand Down
2 changes: 1 addition & 1 deletion pyhull/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -136,4 +136,4 @@ def qhalf(options, halfspaces, interior_point):
data.extend([map(repr, row) for row in points])
prep_str = [" ".join(map(str, line)) for line in data]
output = getattr(hull, "qhalf")(options, "\n".join(prep_str))
return map(str.strip, output.strip().split("\n"))
return list(map(str.strip, output.strip().split("\n")))

0 comments on commit c92afd0

Please sign in to comment.