Skip to content

Commit cae0423

Browse files
committed
Merge pull request #608 from izaid/id
Updates to match libdynd
2 parents 7079e65 + 1e3b802 commit cae0423

2 files changed

Lines changed: 3 additions & 4 deletions

File tree

dynd/include/numpy_interop.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -461,7 +461,7 @@ inline char numpy_kindchar_of(const dynd::ndt::type &d)
461461
return 'b';
462462
case dynd::int_kind_id:
463463
return 'i';
464-
case dynd::uint_kind:
464+
case dynd::uint_kind_id:
465465
return 'u';
466466
case dynd::float_kind_id:
467467
return 'f';

dynd/src/types/pyobject_type.cpp

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,8 @@ const type_id_t pyobject_id = ndt::type_registry.insert(
1515
any_kind_id, ndt::type(new pyobject_type(), true));
1616

1717
pyobject_type::pyobject_type()
18-
: ndt::base_type(pyobject_id, custom_kind, sizeof(PyObject *),
19-
alignof(PyObject *), type_flag_none | type_flag_zeroinit,
20-
0, 0, 0)
18+
: ndt::base_type(pyobject_id, sizeof(PyObject *), alignof(PyObject *),
19+
type_flag_none | type_flag_zeroinit, 0, 0, 0)
2120
{
2221
}
2322

0 commit comments

Comments
 (0)