Skip to content
Snippets Groups Projects
Commit a8cd071b authored by Philip Mueller, HS's avatar Philip Mueller, HS
Browse files

Added the clone function to the SampleCollection interface.

parent 22dc4733
No related branches found
No related tags found
No related merge requests found
......@@ -677,6 +677,11 @@ pyYggdrasil_sampleContainersWrapper(
py::arg("mat"),
py::arg("view")
)
.def("clone", [](const SampleCollection_t& sc) -> SampleCollection_t
{ return sc.clone();},
"This function performs a deep copy of *this."
" This function is usefull when writing generic code."
)
/*
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment