Commit fe1aaa46 authored by incardon's avatar incardon

Fixing example compilation on old compilers

parent f7b4ddf9
......@@ -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);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment