Commit 70b56bfc authored by Christian Engwer's avatar Christian Engwer

correct variable type in shapefunction

kudos to Andreas Buhr

[[Imported from SVN: r430]]
parent 6f98eca9
Copyright holders:
2006--2010 Peter Bastian
2013 Andreas Buhr
2006--2007 Markus Blatt
2007--2012 Andreas Dedner
2010 Dominic Kempf
......
......@@ -27,7 +27,7 @@ public:
rtype evaluateFunction(const Dune::FieldVector<ctype,dim>& local) const
{
ctype result = coeff0;
rtype result = coeff0;
for (int i = 0; i < dim; ++i)
result += coeff1[i] * local[i];
return result;
......
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