fix the simdivfilters problem with python3. This has now been tested on py3 and should, hopefully, not cause the travis build to fail

This commit is contained in:
Greg Landrum
2014-08-05 05:26:25 +02:00
parent 663478cfd9
commit fac600885b
2 changed files with 3 additions and 2 deletions

View File

@@ -27,7 +27,7 @@ class TestCase(unittest.TestCase):
return 0.0
if i<j:
j,i=i,j
return self.dMat[i*(i-1)/2+j]
return self.dMat[i*(i-1)//2+j]
lmaxmin = pkr.LazyPick(func, self.n, self.m,(886,112))
self.assertEqual(list(lmaxmin),list(maxmin))