From 1986ccf0c6220dd2765da0342e94a2b27aecebb0 Mon Sep 17 00:00:00 2001 From: Eduard Valeyev Date: Sat, 12 Oct 2024 03:28:01 -0400 Subject: [PATCH] [python] amends PyTA for d856c6a4f4de592e21c1904dba93f5c22ad7b633 --- python/src/TiledArray/python/array.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/python/src/TiledArray/python/array.h b/python/src/TiledArray/python/array.h index 782846df4c..e3cc1c79b7 100644 --- a/python/src/TiledArray/python/array.h +++ b/python/src/TiledArray/python/array.h @@ -208,7 +208,7 @@ void make_array_class(py::object m, const char *name) { py::return_value_policy::reference) .def_property_readonly("trange", &array::trange) .def_property_readonly("shape", &array::shape) - .def("fill", &Array::fill, py::arg("value"), + .def("fill", &Array::template fill<>, py::arg("value"), py::arg("skip_set") = false) .def("init", &array::init_tiles) // Array object needs be alive while iterator is used */