developing split kernel

This commit is contained in:
Zhenwen Dai 2014-05-29 10:13:16 +01:00
parent 0fde50f56d
commit 627cf9c86c
2 changed files with 2 additions and 1 deletions

View file

@ -14,6 +14,7 @@ from _src.ODE_UYC import ODE_UYC
from _src.ODE_st import ODE_st from _src.ODE_st import ODE_st
from _src.ODE_t import ODE_t from _src.ODE_t import ODE_t
from _src.poly import Poly from _src.poly import Poly
from _src.splitKern import SplitKern
# TODO: put this in an init file somewhere # TODO: put this in an init file somewhere
#I'm commenting this out because the files were not added. JH. Remember to add the files before commiting #I'm commenting this out because the files were not added. JH. Remember to add the files before commiting

View file

@ -22,7 +22,7 @@ def index_to_slices(index):
""" """
#contruct the return structure #contruct the return structure
ind = np.asarray(index,dtype=np.int64) ind = np.asarray(index,dtype=np.int)
ret = [[] for i in range(ind.max()+1)] ret = [[] for i in range(ind.max()+1)]
#find the switchpoints #find the switchpoints