Commit 9383e422 authored by Praetorius, Simon's avatar Praetorius, Simon
Browse files

recursive lookup problem

parent 0d58e0b6
Pipeline #1237 failed with stage
in 11 minutes and 25 seconds
......@@ -6,6 +6,7 @@
#include <amdis/AMDiS.hpp>
#include <amdis/ProblemStat.hpp>
#include <amdis/Operators.hpp>
#include <amdis/common/FieldMatVec.hpp>
#include <amdis/common/Literals.hpp>
#include <amdis/gridfunctions/Integrate.hpp>
......
......@@ -182,7 +182,7 @@ namespace AMDiS
{
public:
/// The result type of the functor when applied to the grid-functions
using Range = typename std::result_of<Functor(typename GridFunctions::Range...)>::type;
using Range = decltype(std::declval<Functor>()(std::declval<typename GridFunctions::Range>()...));
/// The argument type that can be applied to the grid-functions
using Domain = typename Impl::DomainType<GridFunctions...>::type;
/// The set of entities this grid-function binds to
......
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