Commit e25a7baf authored by Tomáš Oberhuber's avatar Tomáš Oberhuber Committed by Tomáš Oberhuber
Browse files

Fixing mesh function evaluator to work with more general RealType.

parent e77cc534
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -45,11 +45,11 @@ class FunctionAdapter
         return function.setup( meshPointer, parameters, prefix );
      }
      
      template< typename EntityType, typename TimeReal = RealType >
      template< typename EntityType >
      __cuda_callable__ inline
      static RealType getValue( const FunctionType& function,
                                const EntityType& meshEntity,
                                const TimeReal& time )
                                const RealType& time )
      {
         return function( meshEntity, time );
      }