Skip to content

Commit

Permalink
Minor fix in UC._initial_guess
Browse files Browse the repository at this point in the history
  • Loading branch information
jinningwang committed Nov 6, 2024
1 parent a44e622 commit 4a777dc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ams/routines/uc.py
Original file line number Diff line number Diff line change
Expand Up @@ -307,7 +307,7 @@ def _initial_guess(self):
off_gen = f'{g_idx}'
else:
off_gen = ', '.join(g_idx)
self.system.StaticGen.alter(src='u', idx=g_idx, value=ug0)
self.system.StaticGen.set(src='u', attr='v', idx=g_idx, value=ug0)
logger.warning(f"As initial commitment guess, turn off StaticGen: {off_gen}")
return g_idx

Expand Down

0 comments on commit 4a777dc

Please sign in to comment.