Skip to content

Commit

Permalink
Auto-merged develop -> beta (No conflicts, CI passed)
Browse files Browse the repository at this point in the history
  • Loading branch information
TravisCI committed Apr 13, 2018
2 parents 2e683f1 + e66c6c2 commit ae68958
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/pygsti/objects/gatecalc.py
Original file line number Diff line number Diff line change
Expand Up @@ -158,6 +158,7 @@ def _buildup_dPG(self):
# param, creating a weird inconsistency...) SKIP
if bSkipEcs:
newSelf = self.copy()
newSelf.effects = self.effects.copy() # b/c GateCalc.__init__ doesn't copy members (for efficiency)
for effectlbl,EVec in self.effects.items():
if isinstance(EVec, _sv.ComplementSPAMVec):
del newSelf.effects[effectlbl]
Expand Down

0 comments on commit ae68958

Please sign in to comment.