Skip to content
Snippets Groups Projects
Commit bfc012ef authored by Dr. Felix Tobias Schindler's avatar Dr. Felix Tobias Schindler
Browse files

[python] add bindings for CommonDenseVector<size_t>

parent 0c3b93e3
No related branches found
No related tags found
No related merge requests found
......@@ -45,6 +45,7 @@ PYBIND11_MODULE(_la, m)
LA::bind_Backends(m);
auto common_dense_vector_double = LA::bind_Vector<LA::CommonDenseVector<double>>(m);
LA::bind_Vector<LA::CommonDenseVector<size_t>>(m);
#if HAVE_DUNE_ISTL
auto istl_dense_vector_double = LA::bind_Vector<LA::IstlDenseVector<double>>(m);
#endif
......
......@@ -121,6 +121,15 @@ struct container_name<CommonDenseVector<double>>
}
};
template <>
struct container_name<CommonDenseVector<size_t>>
{
static std::string value()
{
return "common_dense_vector_size_t";
}
};
template <>
struct container_name<CommonDenseMatrix<double>>
{
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment