Skip to content

Commit d73570c

Browse files
committed
Fix leftover debugging
Signed-off-by: Jacques Pienaar <[email protected]>
1 parent 8262fbd commit d73570c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

mlir/include/mlir/Bindings/Python/PybindAdaptors.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -206,7 +206,7 @@ struct type_caster<MlirFrozenRewritePatternSet> {
206206
bool load(handle src, bool) {
207207
py::object capsule = mlirApiObjectToCapsule(src);
208208
value = mlirPythonCapsuleToFrozenRewritePatternSet(capsule.ptr());
209-
return true; // !mlirModuleIsNull(value);
209+
return !mlirModuleIsNull(value);
210210
}
211211
static handle cast(MlirFrozenRewritePatternSet v, return_value_policy,
212212
handle) {

0 commit comments

Comments
 (0)