passing some tests on py3, all on py2
This commit is contained in:
@@ -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):
|
||||
|
||||
Reference in New Issue
Block a user