Skip to content

Commit

Permalink
Merged
Browse files Browse the repository at this point in the history
  • Loading branch information
Anand Patil committed May 25, 2009
2 parents d6611ca + 3ec41d9 commit 69072c1
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions st_cov_fun.py
Expand Up @@ -62,8 +62,7 @@ def my_st(x,y,amp,scale,inc,ecc,symm=None,**kwds):
if symm is None:
symm = (x is y)

n_threads = min(get_threadpool_size(), nx*ny / 10000)

n_threads = min(get_threadpool_size(), nx*ny / 10000)
if n_threads > 1:
if not symm:
bounds = np.linspace(0,ny,n_threads+1)
Expand Down Expand Up @@ -96,7 +95,6 @@ def targ(D,GT,x,y,cmin,cmax,symm,inc=inc,ecc=ecc,amp=amp,scale=scale,kwds=kwds):
if symm:
symmetrize(D)

# return D
return D

# def my_GT_fun(tx,ty,scal_t,t_lim_corr,sin_frac,space_diff):
Expand Down

0 comments on commit 69072c1

Please sign in to comment.