Skip to content

Commit f71fb29

Browse files
Liu KeyuLiu Keyu
authored andcommitted
Fix: resolve pre-commit issues and add missing annotations
1 parent 5935e6f commit f71fb29

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/mqt/predictor/rl/helper.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -178,7 +178,7 @@ def best_of_n_passmanager(
178178
best_result = None
179179
best_property_set = None
180180

181-
if action["name"] == "SabreLayout+AIRouting":
181+
if action.name == "SabreLayout+AIRouting":
182182
all_passes = action.transpile_pass(device, max_iteration)
183183
else:
184184
all_passes = action.transpile_pass(device)

0 commit comments

Comments
 (0)