Skip to content

Commit

Permalink
Merge pull request JuliaStats#448 from jmxpearson/patch-1
Browse files Browse the repository at this point in the history
fix type restriction on params function
  • Loading branch information
andreasnoack committed Jan 21, 2016
2 parents 710fae9 + 2ac001f commit 4cd35c5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/univariate/discrete/geometric.jl
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ end

succprob(d::Geometric) = d.p
failprob(d::Geometric) = 1.0 - d.p
params(d) = (d.p,)
params(d::Geometric) = (d.p,)


### Statistics
Expand Down

0 comments on commit 4cd35c5

Please sign in to comment.