[mlir][sparse] Fix a problem introduced by the PR for reading complex number.

The problem is in function isValid.

Reviewed By: Mogball

Differential Revision: https://reviews.llvm.org/D127349
This commit is contained in:
bixia1 2022-06-08 14:57:54 -07:00
parent 4bcfc41846
commit ff96d434d0
1 changed files with 1 additions and 1 deletions

View File

@ -1172,7 +1172,7 @@ public:
ValueKind getValueKind() const { return valueKind_; }
bool isValid() const { return valueKind_ != ValueKind::kUndefined; }
bool isValid() const { return valueKind_ != ValueKind::kInvalid; }
/// Gets the MME "pattern" property setting. Is only valid after
/// parsing the header.