mirror of
https://github.com/fjosw/pyerrors.git
synced 2025-03-15 14:50:25 +01:00
Removed linter errors
This commit is contained in:
parent
f26c049a89
commit
e2565def8a
1 changed files with 2 additions and 2 deletions
|
@ -122,7 +122,7 @@ class Obs:
|
|||
return self._dvalue
|
||||
|
||||
def expand_deltas(self, deltas, idx, shape):
|
||||
"""Expand deltas defined on idx to a regular, contiguous range, where holes are filled by 0.
|
||||
"""Expand deltas defined on idx to a regular, contiguous range, where holes are filled by 0.
|
||||
If idx is of type range, the deltas are not changed
|
||||
|
||||
Parameters
|
||||
|
@ -1264,7 +1264,7 @@ def covariance2(obs1, obs2, correlation=False, **kwargs):
|
|||
|
||||
if not r_length:
|
||||
return 0.
|
||||
|
||||
|
||||
w_max = max(r_length) // 2
|
||||
e_gamma[e_name] = np.zeros(w_max)
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue