mirror of
https://github.com/NicolasBohn/NexQuant.git
synced 2026-07-29 00:17:44 +00:00
fix: properly assign sota_exp_fb before None comparison (#1037)
This commit is contained in:
@@ -823,7 +823,7 @@ class DSProposalV2ExpGen(ExpGen):
|
||||
]
|
||||
)
|
||||
|
||||
if sota_exp_fb := trace.sota_experiment_fb() is None:
|
||||
if (sota_exp_fb := trace.sota_experiment_fb()) is None:
|
||||
sota_exp, fb_to_sota_exp = None, None
|
||||
else:
|
||||
sota_exp, fb_to_sota_exp = sota_exp_fb
|
||||
|
||||
Reference in New Issue
Block a user