Skip to content

Commit 6424d9d

Browse files
authored
Fix CubeCL doc-test fast math enumset (#10)
1 parent 5b8d9ff commit 6424d9d

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

  • crates/cubecl-core/src/runtime_tests

crates/cubecl-core/src/runtime_tests/binary.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ expected: {:?}",
5353

5454
// Needs lazy because const trait fns aren't stable
5555
static FAST_MATH: Lazy<EnumSet<FastMath>> =
56-
Lazy::new(|| FastMath::all().difference(FastMath::NotNaN));
56+
Lazy::new(|| FastMath::all().difference(FastMath::NotNaN.into()));
5757

5858
macro_rules! test_binary_impl {
5959
(

0 commit comments

Comments
 (0)