Skip to content

Commit

Permalink
BUG: Fix template with double rather than T
Browse files Browse the repository at this point in the history
  • Loading branch information
RUrlus committed May 22, 2020
1 parent 5fd2acd commit d1ee66b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/carma/carma.h
Original file line number Diff line number Diff line change
Expand Up @@ -317,7 +317,7 @@ namespace carma {
ssize_t tsize = static_cast<ssize_t>(sizeof(T));
ssize_t nrows = static_cast<ssize_t>(src->n_rows);

T * data = get_data<arma::Col<double>>(src, copy);
T * data = get_data<arma::Col<T>>(src, copy);
py::capsule base = create_capsule(data);

return py::array_t<T>(
Expand Down

0 comments on commit d1ee66b

Please sign in to comment.