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
fe1aaa46
Commit
fe1aaa46
authored
Feb 23, 2017
by
incardon
Browse files
Fixing example compilation on old compilers
parent
f7b4ddf9
Changes
1
Hide whitespace changes
Inline
Side-by-side
example/Vector/7_SPH_dlb_opt/main.cpp
View file @
fe1aaa46
...
...
@@ -311,7 +311,7 @@ typedef vector_dist<3,double,aggregate<size_t,double, double, double, do
struct
ModelCustom
{
template
<
typename
Decomposition
,
typename
vector
>
inline
void
addComputation
(
Decomposition
&
dec
,
const
vector
&
vd
,
size_t
v
,
size_t
p
)
template
<
typename
Decomposition
,
typename
vector
>
inline
void
addComputation
(
Decomposition
&
dec
,
vector
&
vd
,
size_t
v
,
size_t
p
)
{
if
(
vd
.
template
getProp
<
type
>(
p
)
==
FLUID
)
dec
.
addComputationCost
(
v
,
4
);
...
...
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