mirror of
https://gitlab.kitware.com/vtk/vtk-m
synced 2024-09-08 13:23:51 +00:00
Make .in files match new formatting
The automatic formatter formatted the result of the .in files, but not the .in files themselves. This caused the .in file check to fail.
This commit is contained in:
parent
ac4b2a1a3b
commit
b03a61da5d
@ -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