Skip to content

Fix typos in "Create New Samplers and Distributions" docs - #2084

Merged
devmotion merged 1 commit into
JuliaStats:masterfrom
s-celles:docs-fix-extends-typos
Jul 27, 2026
Merged

devmotion merged 1 commit into
JuliaStats:masterfrom
s-celles:docs-fix-extends-typos

Conversation

@s-celles

Copy link
Copy Markdown
Contributor

Reported on Discourse: a user copy-pasted DiscreteUnivarateDistribution from the documentation and hit an UndefVarError. https://discourse.julialang.org/t/creating-a-new-distibution-with-distributions-jl/138436

  • DiscreteUnivarateDistribution -> DiscreteUnivariateDistribution
  • DiscreteMultivarateDistribution -> DiscreteMultivariateDistribution
  • Matrix-variate sampler section said "multivariate sampler" and Sampleable{Multivariate,S}; it should be Sampleable{Matrixvariate,S}
  • "as wells as" -> "as well as"

Assisted-by: AI

Reported on Discourse: a user copy-pasted `DiscreteUnivarateDistribution`
from the documentation and hit an `UndefVarError`.
https://discourse.julialang.org/t/creating-a-new-distibution-with-distributions-jl/138436

- `DiscreteUnivarateDistribution` -> `DiscreteUnivariateDistribution`
- `DiscreteMultivarateDistribution` -> `DiscreteMultivariateDistribution`
- Matrix-variate sampler section said "multivariate sampler" and
  `Sampleable{Multivariate,S}`; it should be `Sampleable{Matrixvariate,S}`
- "as wells as" -> "as well as"

Assisted-by: AI
@codecov

codecov Bot commented Jul 24, 2026 •

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 86.74%. Comparing base (2697768) to head (0a37325).

Additional details and impacted files
@@           Coverage Diff           @@
##           master    #2084   +/-   ##
=======================================
  Coverage   86.74%   86.74%           
=======================================
  Files         149      149           
  Lines        8883     8883           
=======================================
  Hits         7706     7706           
  Misses       1177     1177           

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@devmotion devmotion left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you!

@devmotion
devmotion merged commit bb1afe7 into JuliaStats:master Jul 27, 2026
13 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants