Skip to content

Commit

Permalink
fix: fix point_to_numpy_array method
Browse files Browse the repository at this point in the history
  • Loading branch information
eladyaniv01 committed Aug 13, 2020
1 parent 54e84f0 commit 4d56755
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion MapAnalyzer/MapData.py
Original file line number Diff line number Diff line change
Expand Up @@ -167,7 +167,7 @@ def points_to_numpy_array(
"""
convert points to numpy ndarray
"""
cols, rows = self.path_arr.shape
rows, cols = self.path_arr.shape
arr = np.zeros((rows, cols), dtype=np.uint8)
if isinstance(points, set):
points = list(points)
Expand Down

0 comments on commit 4d56755

Please sign in to comment.