Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
bob
bob.io.base
Commits
3f9cfd74
Commit
3f9cfd74
authored
May 11, 2016
by
Manuel Günther
Browse files
Corrected template function
parent
145429d6
Changes
1
Hide whitespace changes
Inline
Side-by-side
bob/io/base/include/bob.io.base/blitz_array.h
View file @
3f9cfd74
...
...
@@ -172,7 +172,7 @@ namespace bob { namespace io { namespace base { namespace array {
* specify. We will do this by copying the data you gave.
*/
template
<
typename
T
,
int
N
>
void
set
(
const
blitz
::
Array
<
T
,
N
>&
data
)
{
set
(
boost
::
make_shared
<
blitz
::
Array
<
T
,
N
>
>
(
ccopy
(
data
)));
set
(
boost
::
make_shared
<
blitz
::
Array
<
T
,
N
>
>
(
bob
::
core
::
array
::
ccopy
(
data
)));
}
/**
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a 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