Skip to content

Commit

Permalink
Oops
Browse files Browse the repository at this point in the history
  • Loading branch information
apatil committed Oct 28, 2009
1 parent 1db641b commit 9c87fe1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ibdw/model.py
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ def make_model(lon,lat,covariate_values,pos,neg,cpus=1):
eps_p_f_d.append(pm.Normal('eps_p_f_%i'%i, f[fi[sl]], 1./sp_sub['V'], value=pm.logit(s_hat[sl]),trace=False))

# The allele frequency
s_d.append(pm.InvLogit('s_%i'%i,eps_p_f_d[-1],trace=False))
s_d.append(pm.Lambda('s_%i'%i,lambda lt=eps_p_f_d[-1]: invlogit(lt),trace=False))

# The observed allele frequencies
data_d.append(pm.Binomial('data_%i'%i, pos[sl]+neg[sl], s_d[-1], value=pos[sl], observed=True))
Expand Down

0 comments on commit 9c87fe1

Please sign in to comment.