Skip to content

Commit

Permalink
Copy PulseBlock one layer deeper
Browse files Browse the repository at this point in the history
Apparently this line is still necessary, even with namedtuples
--DR
  • Loading branch information
CoherenceController committed Aug 3, 2016
1 parent 4389644 commit 3809c77
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion QGL/PulseSequencer.py
Expand Up @@ -202,7 +202,7 @@ def __mul__(self, rhs):

# copy PulseBlock so we don't modify other references
result = copy(self)

result.pulses = copy(self.pulses)
for (k, v) in rhs.pulses.items():
if k in result.pulses.keys():
raise NameError(
Expand Down

0 comments on commit 3809c77

Please sign in to comment.