Skip to content

Commit

Permalink
shut UP clang
Browse files Browse the repository at this point in the history
  • Loading branch information
rboston628 committed Sep 27, 2024
1 parent d018e2f commit 7c6d1a5
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Framework/Kernel/src/FloatingPointComparison.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ template <typename T> MANTID_KERNEL_DLL bool gtEquals(T const x, T const y) { re

#ifdef __APPLE__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Wno-absolute-value"
#pragma clang diagnostic ignored "-Wno-everything"
#endif
/**
* Calculate the absolute difference of two floating-point numbers
Expand Down Expand Up @@ -141,7 +141,7 @@ template <typename T, typename S> bool withinAbsoluteDifference(T const x, T con

#ifdef __APPLE__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Wno-absolute-value"
#pragma clang diagnostic ignored "-Wno-everything"
#endif
// specialization for integer types
template <typename T, typename S>
Expand Down Expand Up @@ -185,7 +185,7 @@ template <typename T, typename S> bool withinRelativeDifference(T const x, T con

#ifdef __APPLE__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Wno-absolute-value"
#pragma clang diagnostic ignored "-Wno-everything"
#endif
template <typename T, typename S>
inline bool withinRelativeDifference(T const x, T const y, S const tolerance, MADE_FOR_INTEGERS) {
Expand Down

0 comments on commit 7c6d1a5

Please sign in to comment.