Skip to content

Commit 648abf7

Browse files
abellgithubhobu
authored andcommitted
Make sure Shape is initialized. (#36)
1 parent 588c38f commit 648abf7

File tree

3 files changed

+2
-3
lines changed

3 files changed

+2
-3
lines changed

VERSION.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
2.2.0
1+
2.2.1

pdal/PyArray.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ class PDAL_DLL Array
7474
Array& operator=(Array const& rhs);
7575
Fields m_fields;
7676
bool m_rowMajor;
77-
Shape m_shape;
77+
Shape m_shape {};
7878
std::vector<std::unique_ptr<ArrayIter>> m_iterators;
7979
};
8080

pdal/libpdalpython.pyx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,6 @@ cdef class PyPipeline:
106106
cdef Array* a
107107

108108
if arrays is not None:
109-
print("Looping arrays\n")
110109
for array in arrays:
111110
a = new Array(array)
112111
c_arrays.push_back(a)

0 commit comments

Comments
 (0)