Skip to content

Commit b5ed48e

Browse files
committed
remove uninformative warning
1 parent 0ccaaad commit b5ed48e

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

pygsti/objectivefns/objectivefns.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4059,7 +4059,6 @@ def dterms(self, probs, counts, total_counts, freqs, intermediates=None):
40594059
numpy.ndarray
40604060
A 1D array of length equal to that of each array argument.
40614061
"""
4062-
_warnings.warn('This derivative is discontinuous and does not return a full subgradient.')
40634062
t = probs - freqs
40644063
d = 0.5*_np.ones_like(t)
40654064
d[t < 0] *= -1

0 commit comments

Comments
 (0)