mirror of
https://github.com/fjosw/pyerrors.git
synced 2025-03-15 06:40:24 +01:00
autograd numpy removed from correlators where not necessary
This commit is contained in:
parent
77c816d6a6
commit
0339912fae
1 changed files with 3 additions and 2 deletions
|
@ -1,4 +1,5 @@
|
|||
import autograd.numpy as np
|
||||
import numpy as np
|
||||
import autograd.numpy as anp
|
||||
from .pyerrors import *
|
||||
from .fits import standard_fit
|
||||
from matplotlib import pyplot as plt
|
||||
|
@ -222,7 +223,7 @@ class Corr:
|
|||
|
||||
return np.log(Corr(newcontent, padding_back=1))
|
||||
|
||||
else: # This is usually not very stable.
|
||||
else: # This is usually not very stable.
|
||||
newcontent = []
|
||||
for t in range(1, self.T - 1):
|
||||
if (self.content[t] is None) or (self.content[t + 1] is None)or (self.content[t - 1] is None):
|
||||
|
|
Loading…
Add table
Reference in a new issue