Skip to content

Commit a1eb691

Browse files
committed
Update array_from_py.cpp
1 parent 56f23b7 commit a1eb691

1 file changed

Lines changed: 0 additions & 1 deletion

File tree

dynd/src/array_from_py.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -440,7 +440,6 @@ dynd::nd::array pydynd::array_from_py(PyObject *obj, uint32_t access_flags, bool
440440
result = nd::make_array_memory_block(d, d.extended()->get_arrmeta_size(), d.get_data_size(),
441441
d.get_data_alignment(), &data_ptr);
442442
result.get()->data = data_ptr;
443-
result.get()->owner = nd::memory_block();
444443
// The scalar consists of pointers to the byte string data
445444
reinterpret_cast<dynd::string *>(data_ptr)->assign(data, len);
446445
// The arrmeta

0 commit comments

Comments
 (0)