Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Sbalzarini Lab
S
Software
P
Parallel Computing
OpenFPM
openfpm_pdata
Commits
83731f8f
Commit
83731f8f
authored
Jun 30, 2017
by
incardon
Browse files
Fixing compilation on clang
parent
20947978
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/Grid/Iterators/grid_dist_id_iterator.hpp
View file @
83731f8f
...
...
@@ -238,7 +238,7 @@ class grid_dist_iterator<dim,device_grid,FREE,stencil>
*/
template
<
unsigned
int
id
>
inline
grid_dist_lin_dx
getStencil
()
{
return
grid_dist_lin_dx
(
g_c
,
a_it
.
getStencil
<
id
>
());
return
grid_dist_lin_dx
(
g_c
,
a_it
.
template
getStencil
<
id
>());
}
};
...
...
@@ -288,6 +288,8 @@ class grid_dist_iterator<dim,device_grid,FIXED,stencil>
*
* \param tmp iterator to copy
*
* \return itself
*
*/
grid_dist_iterator
<
dim
,
device_grid
,
FIXED
>
&
operator
=
(
const
grid_dist_iterator
<
dim
,
device_grid
,
FIXED
>
&
tmp
)
{
...
...
@@ -410,7 +412,7 @@ class grid_dist_iterator<dim,device_grid,FIXED,stencil>
*/
template
<
unsigned
int
id
>
inline
grid_dist_lin_dx
getStencil
()
{
return
grid_dist_lin_dx
(
g_c
,
a_it
.
getStencil
<
id
>
());
return
grid_dist_lin_dx
(
g_c
,
a_it
.
template
getStencil
<
id
>());
}
};
...
...
Write
Preview
Markdown
is supported
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