Skip to content

Commit c1918c9

Browse files
authored
Add explicit return type to _domain lambda for pybind11>=3.0.2 (#2299)
1 parent ed8ba44 commit c1918c9

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

tiledb/libtiledb/domain.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ void init_domain(py::module& m) {
4949

5050
.def_property_readonly(
5151
"_domain",
52-
[](Dimension& dim) {
52+
[](Dimension& dim) -> py::tuple {
5353
switch (dim.type()) {
5454
case TILEDB_UINT64: {
5555
auto dom = dim.domain<uint64_t>();

0 commit comments

Comments
 (0)