Skip to content
Snippets Groups Projects
Commit 0f726cd2 authored by Pietro Incardona's avatar Pietro Incardona
Browse files

Numerics fixed

parent 5e304636
No related branches found
No related tags found
No related merge requests found
...@@ -360,17 +360,17 @@ struct pos_or_propL<vector,PROP_POS> ...@@ -360,17 +360,17 @@ struct pos_or_propL<vector,PROP_POS>
#ifdef SE_CLASS3 #ifdef SE_CLASS3
//! return the value (position or property) of the particle k in the vector v //! 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(getExprL(v.getPos(k).getReference()))
{ {
return getExpr(v.getPos(k).getReference()); return getExprL(v.getPos(k).getReference());
} }
#else #else
//! return the value (position or property) of the particle k in the vector v //! 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(getExprL(v.getPos(k)))
{ {
return getExpr(v.getPos(k)); return getExprL(v.getPos(k));
} }
#endif #endif
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment