Skip to content

Commit 69f9d2c

Browse files
author
Peiming Liu
committed
(possibly) fix build error.
1 parent e45cf3d commit 69f9d2c

File tree

1 file changed

+1
-1
lines changed
  • mlir/include/mlir/Dialect/SparseTensor/IR

1 file changed

+1
-1
lines changed

mlir/include/mlir/Dialect/SparseTensor/IR/Enums.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -301,7 +301,7 @@ struct LevelType {
301301

302302
/// Check if the `LevelType` is in the `LevelFormat`.
303303
template <LevelFormat fmt>
304-
bool isa() const {
304+
constexpr bool isa() const {
305305
return getLvlFmt() == fmt;
306306
}
307307

0 commit comments

Comments
 (0)