mirror of
https://github.com/fjosw/pyerrors.git
synced 2025-05-14 19:43:41 +02: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
|
return self._dvalue
|
||||||
|
|
||||||
def expand_deltas(self, deltas, idx, shape):
|
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
|
If idx is of type range, the deltas are not changed
|
||||||
|
|
||||||
Parameters
|
Parameters
|
||||||
|
@ -1264,7 +1264,7 @@ def covariance2(obs1, obs2, correlation=False, **kwargs):
|
||||||
|
|
||||||
if not r_length:
|
if not r_length:
|
||||||
return 0.
|
return 0.
|
||||||
|
|
||||||
w_max = max(r_length) // 2
|
w_max = max(r_length) // 2
|
||||||
e_gamma[e_name] = np.zeros(w_max)
|
e_gamma[e_name] = np.zeros(w_max)
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue