[Mlir-commits] [mlir] [libc++] Fixed uniform_real_distribution.h where it was allowing initialization with non floating point types (PR #70485)

llvmlistbot at llvm.org llvmlistbot at llvm.org
Fri Oct 27 11:35:00 PDT 2023


================
@@ -14,6 +14,7 @@
 #include <__random/is_valid.h>
 #include <iosfwd>
 #include <limits>
+#include <type_traits>
----------------
philnik777 wrote:

Please include `<__type_traits/is_floating_point.h>` instead.

https://github.com/llvm/llvm-project/pull/70485


More information about the Mlir-commits mailing list