Skip to content

Commit

Permalink
Apply clang-format
Browse files Browse the repository at this point in the history
  • Loading branch information
lucbv committed Sep 26, 2023
1 parent 072c845 commit f6d2add
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions common/src/Kokkos_ArithTraits.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -924,7 +924,7 @@ class ArithTraits<Kokkos::Experimental::half_t> {
static constexpr bool is_integer = false;
static constexpr bool is_exact = false;
static constexpr bool is_complex = false;
static constexpr bool has_infinity = true;
static constexpr bool has_infinity = true;

#if KOKKOS_VERSION < 40199
static KOKKOS_FUNCTION val_type infinity() {
Expand Down Expand Up @@ -1100,7 +1100,7 @@ class ArithTraits<Kokkos::Experimental::bhalf_t> {
static constexpr bool is_integer = false;
static constexpr bool is_exact = false;
static constexpr bool is_complex = false;
static constexpr bool has_infinity = true;
static constexpr bool has_infinity = true;

#if KOKKOS_VERSION < 40199
static KOKKOS_FUNCTION val_type infinity() {
Expand Down Expand Up @@ -1203,8 +1203,8 @@ class ArithTraits<Kokkos::Experimental::bhalf_t> {
#endif

// Backwards compatibility with Teuchos::ScalarTraits.
using magnitudeType = mag_type;
using bhalfPrecision = Kokkos::Experimental::bhalf_t;
using magnitudeType = mag_type;
using bhalfPrecision = Kokkos::Experimental::bhalf_t;
// There is no type that has twice the precision as bhalf_t.
// The closest type would be float.
using doublePrecision = void;
Expand Down

0 comments on commit f6d2add

Please sign in to comment.