Private
Public Access
1
0

passing some tests on py3, all on py2

This commit is contained in:
Sander Roosendaal
2019-02-25 21:03:30 +01:00
parent 199382a700
commit 617f1e5d9f
13 changed files with 56 additions and 606 deletions

View File

@@ -264,7 +264,7 @@ def getcp(dfgrouped,logarr):
length = len(ww)
dt = []
cpw = []
for i in xrange(length-2):
for i in range(length-2):
deltat,wmax = getmaxwattinterval(tt,ww,i)
if not np.isnan(deltat) and not np.isnan(wmax):