Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
O
openfpm_numerics
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Locked Files
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
Requirements
Requirements
List
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Security & Compliance
Security & Compliance
Dependency List
License Compliance
Operations
Operations
Environments
Analytics
Analytics
CI / CD
Code Review
Insights
Issue
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
openfpm
openfpm_numerics
Commits
0f726cd2
Commit
0f726cd2
authored
Feb 22, 2017
by
incardon
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Numerics fixed
parent
5e304636
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
src/Operators/Vector/vector_dist_operators.hpp
src/Operators/Vector/vector_dist_operators.hpp
+4
-4
No files found.
src/Operators/Vector/vector_dist_operators.hpp
View file @
0f726cd2
...
...
@@ -360,17 +360,17 @@ struct pos_or_propL<vector,PROP_POS>
#ifdef SE_CLASS3
//! return the value (position or property) of the particle k in the vector v
static
inline
auto
value
(
vector
&
v
,
const
vect_dist_key_dx
&
k
)
->
decltype
(
getExpr
(
v
.
getPos
(
k
).
getReference
()))
static
inline
auto
value
(
vector
&
v
,
const
vect_dist_key_dx
&
k
)
->
decltype
(
getExpr
L
(
v
.
getPos
(
k
).
getReference
()))
{
return
getExpr
(
v
.
getPos
(
k
).
getReference
());
return
getExpr
L
(
v
.
getPos
(
k
).
getReference
());
}
#else
//! return the value (position or property) of the particle k in the vector v
static
inline
auto
value
(
vector
&
v
,
const
vect_dist_key_dx
&
k
)
->
decltype
(
getExpr
(
v
.
getPos
(
k
)))
static
inline
auto
value
(
vector
&
v
,
const
vect_dist_key_dx
&
k
)
->
decltype
(
getExpr
L
(
v
.
getPos
(
k
)))
{
return
getExpr
(
v
.
getPos
(
k
));
return
getExpr
L
(
v
.
getPos
(
k
));
}
#endif
...
...
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