Notice to GitKraken users: A vulnerability has been found in the SSH key generation of GitKraken versions 7.6.0 to 8.0.0 ( If you use GitKraken and have generated a SSH key using one of these versions, please remove it both from your local workstation and from your LRZ GitLab profile.

21.10.2021, 9:00 - 11:00: Due to updates GitLab may be unavailable for some minutes between 09:00 and 11:00.

Commit 62b45b6d authored by Jens Petit's avatar Jens Petit
Browse files

Pass-by-value of Eigen matrix (#40)

parent f8f6fc17
Pipeline #206655 passed with stages
in 6 minutes and 13 seconds
......@@ -13,7 +13,7 @@ namespace elsa
template <typename data_t>
DataHandlerCPU<data_t>::DataHandlerCPU(DataVector_t vector)
DataHandlerCPU<data_t>::DataHandlerCPU(DataVector_t const& vector)
: _data{std::make_shared<DataVector_t>(vector)}
......@@ -78,7 +78,7 @@ namespace elsa
* \param[in] vector that is used for initializing the data
explicit DataHandlerCPU(DataVector_t vector);
explicit DataHandlerCPU(DataVector_t const& vector);
/// copy constructor
DataHandlerCPU(const DataHandlerCPU<data_t>& other);
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment