mirror of
https://github.com/NicolasBohn/NexQuant.git
synced 2026-07-27 23:47:46 +00:00
fix: a small bug in exp_gen (#606)
This commit is contained in:
@@ -195,7 +195,7 @@ class DSExpGen(ExpGen):
|
||||
"""
|
||||
former_task_desc = (
|
||||
trace.hist[-1][0].pending_tasks_list[0][0].get_task_information()
|
||||
if len(trace.hist) > 0 and trace.hist[-1] is not last_successful_exp
|
||||
if len(trace.hist) > 0 and trace.hist[-1][0] is not last_successful_exp
|
||||
else None
|
||||
)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user