Skip to content

Commit

Permalink
syntax error fix
Browse files Browse the repository at this point in the history
  • Loading branch information
lcgraham committed May 6, 2016
1 parent 311093f commit 5fca1d3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bet/calculateP/calculateP.py
Original file line number Diff line number Diff line change
Expand Up @@ -425,7 +425,7 @@ def exact_volume_1D(samples, input_domain, distribution='uniform', a=None,
loc=input_domain[:, 0], scale=domain_width)
# calculate difference between right and left of each cell and renormalize
lam_vol = np.squeeze(edges[1:, :] - edges[:-1, :])
if distribution == 'uniform'
if distribution == 'uniform':
lam_vol = lam_vol/domain_width
# Set up local arrays for parallelism
local_index = np.array_split(np.arange(samples.shape[0]),
Expand Down

0 comments on commit 5fca1d3

Please sign in to comment.