Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
9.2.2023: Due to updates GitLab will be unavailable for some minutes between 9:00 and 11:00.
Open sidebar
IP
elsa
Commits
62b45b6d
Commit
62b45b6d
authored
Jan 24, 2020
by
Jens Petit
Browse files
Pass-by-value of Eigen matrix (
#40
)
parent
f8f6fc17
Pipeline
#206655
passed with stages
in 6 minutes and 13 seconds
Changes
2
Pipelines
2
Hide whitespace changes
Inline
Side-by-side
elsa/core/DataHandlerCPU.cpp
View file @
62b45b6d
...
...
@@ -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
)}
{
}
...
...
elsa/core/DataHandlerCPU.h
View file @
62b45b6d
...
...
@@ -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
);
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment