File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change 2929#define PYTHON_RASTER_IMAGE ( dimension ) \
3030 const auto name##dimension = \
3131 " RasterImage" + std::to_string( dimension ) + " D" ; \
32- pybind11::class_< RasterImage##dimension##D, CellArray##dimension##D >( \
33- module , name##dimension.c_str() ) \
32+ pybind11::class_< RasterImage##dimension##D, CellArray##dimension##D, \
33+ Identifier >( module , name##dimension.c_str() ) \
3434 .def( pybind11::init< std::array< index_t , dimension > >() ) \
3535 .def( \
3636 " native_extension" , &RasterImage##dimension##D::native_extension ) \
Original file line number Diff line number Diff line change 3333#define PYTHON_LIGHT_REGULAR_GRID ( dimension ) \
3434 const auto name##dimension = \
3535 " LightRegularGrid" + std::to_string( dimension ) + " D" ; \
36- pybind11::class_< LightRegularGrid##dimension##D, Grid##dimension##D >( \
37- module , name##dimension.c_str() ) \
36+ pybind11::class_< LightRegularGrid##dimension##D, Grid##dimension##D, \
37+ Identifier >( module , name##dimension.c_str() ) \
3838 .def( pybind11::init< Point< dimension >, \
3939 std::array< index_t , dimension >, \
4040 std::array< double , dimension > >() ) \
You can’t perform that action at this time.
0 commit comments