forked from OSchip/llvm-project
[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:
parent
4bcfc41846
commit
ff96d434d0
|
@ -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.
|
||||
|
|
Loading…
Reference in New Issue