mirror of
https://gitlab.kitware.com/vtk/vtk-m
synced 2024-09-08 13:23:51 +00:00
Merge topic 'indent-generated'
b03a61da Make .in files match new formatting Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !784
This commit is contained in:
commit
071c792148
@ -108,7 +108,7 @@ struct FloatingPointReturnType<T, typename FloatingPointReturnCondition<T>::type
|
||||
{
|
||||
typedef vtkm::Float32 Type;
|
||||
};
|
||||
}
|
||||
} // namespace detail
|
||||
|
||||
/// Compute the sine of \p x.
|
||||
///
|
||||
@ -1361,18 +1361,15 @@ static inline VTKM_EXEC_CONT vtkm::Float64 Exp10(T x)
|
||||
static inline VTKM_EXEC_CONT vtkm::Float32 Exp10(vtkm::Float32 x)
|
||||
{
|
||||
return vtkm::Pow(10, x);
|
||||
;
|
||||
}
|
||||
static inline VTKM_EXEC_CONT vtkm::Float64 Exp10(vtkm::Float64 x)
|
||||
{
|
||||
return vtkm::Pow(10, x);
|
||||
;
|
||||
}
|
||||
template <typename T>
|
||||
static inline VTKM_EXEC_CONT vtkm::Float64 Exp10(T x)
|
||||
{
|
||||
return vtkm::Pow(10, static_cast<vtkm::Float64>(x));
|
||||
;
|
||||
}
|
||||
#endif // !VTKM_CUDA
|
||||
|
||||
|
632
vtkm/Math.h.in
632
vtkm/Math.h.in
File diff suppressed because it is too large
Load Diff
@ -40,8 +40,8 @@ $# Ignore the following comment. It is meant for the generated file.
|
||||
#ifndef vtk_m_exec_internal_WorkletInvokeFunctorDetail_h
|
||||
#define vtk_m_exec_internal_WorkletInvokeFunctorDetail_h
|
||||
|
||||
#if !defined(vtk_m_exec_internal_TaskSingular_h) && \
|
||||
!defined(vtk_m_exec_internal_TaskTiling_h) && \
|
||||
#if !defined(vtk_m_exec_internal_TaskSingular_h) && \\
|
||||
!defined(vtk_m_exec_internal_TaskTiling_h) && \\
|
||||
!defined(VTKM_TEST_HEADER_BUILD)
|
||||
#error WorkletInvokeFunctorDetail.h must be included from TaskSingular.h or TaskTiling.h
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user