Skip to content

Commit

Permalink
fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
maffoo committed Jan 29, 2025
1 parent b8e9383 commit 18c6e16
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion cirq-core/cirq/circuits/circuit_operation.py
Original file line number Diff line number Diff line change
Expand Up @@ -266,7 +266,9 @@ def replace(self, **changes) -> 'cirq.CircuitOperation':
'repetition_ids': self.repetition_ids,
'parent_path': self.parent_path,
'extern_keys': self._extern_keys,
'use_repetition_ids': True if changes.get('repetition_ids') is not None else self.use_repetition_ids,
'use_repetition_ids': (
True if changes.get('repetition_ids') is not None else self.use_repetition_ids
),
'repeat_until': self.repeat_until,
**changes,
}
Expand Down

0 comments on commit 18c6e16

Please sign in to comment.