Commit 2ae3ec59 authored by Tommaso Bianucci's avatar Tommaso Bianucci

Fix for failing build on CI ubuntu machine due to not supported implicit...

Fix for failing build on CI ubuntu machine due to not supported implicit construction of returned Point object.
parent 2f71a264
......@@ -65,7 +65,7 @@ Support<dim, T, Prop>::computeOffsets(const size_t referencePoint, const std::ve
template<unsigned int dim, typename T, typename Prop>
const Point<dim, T> Support<dim, T, Prop>::getReferencePoint() const
{
return domain.getPos(referencePointKey);
return Point<dim, T>(domain.getPos(referencePointKey));
}
template<unsigned int dim, typename T, typename Prop>
......
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