From d1ee66bfa629d3b72e27ef0c6229ad0bb3ed3ac6 Mon Sep 17 00:00:00 2001 From: Ralph Urlus Date: Fri, 22 May 2020 11:21:33 +0200 Subject: [PATCH] BUG: Fix template with double rather than T --- include/carma/carma.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/carma/carma.h b/include/carma/carma.h index 3e2fb46b..16171b3a 100644 --- a/include/carma/carma.h +++ b/include/carma/carma.h @@ -317,7 +317,7 @@ namespace carma { ssize_t tsize = static_cast(sizeof(T)); ssize_t nrows = static_cast(src->n_rows); - T * data = get_data>(src, copy); + T * data = get_data>(src, copy); py::capsule base = create_capsule(data); return py::array_t(