Skip to content

Commit

Permalink
fix clang issue
Browse files Browse the repository at this point in the history
  • Loading branch information
songbell committed Jul 6, 2021
1 parent ec4c072 commit 0faa531
Showing 1 changed file with 5 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -13,15 +13,18 @@ namespace ngraph
{
namespace reference
{
template <typename T, typename std::enable_if<!std::is_integral<T>::value, bool>::type = true>
template <typename T,
typename std::enable_if<!std::is_integral<T>::value, bool>::type = true>
void atan(const T* arg, T* out, size_t count)
{
for (size_t i = 0; i < count; i++)
{
out[i] = std::atan(arg[i]);
}
}
template <typename T, typename std::enable_if<std::is_integral<T>::value, bool>::type = true>

template <typename T,
typename std::enable_if<std::is_integral<T>::value, bool>::type = true>
void atan(const T* arg, T* out, size_t count)
{
for (size_t i = 0; i < count; i++)
Expand Down

0 comments on commit 0faa531

Please sign in to comment.