Skip to content

Commit 76669fd

Browse files
authored
Fix and format negative_binomial_distribution::param_type syntax
1 parent 958f12f commit 76669fd

File tree

1 file changed

+10
-9
lines changed

1 file changed

+10
-9
lines changed

docs/standard-library/negative-binomial-distribution-class.md

Lines changed: 10 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -225,15 +225,16 @@ The second constructor constructs an object whose stored parameters are initiali
225225
Stores the parameters of the distribution.
226226
227227
```cpp
228-
struct param_type {
229-
typedef negative_binomial_distribution`<`result_type> distribution_type;
230-
param_type(result_type k = 1, double p = 0.5);
231-
result_type k() const;
232-
double p() const;
233-
234-
bool operator==(const param_type& right) const;
235-
bool operator!=(const param_type& right) const;
236-
};
228+
struct param_type
229+
{
230+
typedef negative_binomial_distribution<result_type> distribution_type;
231+
param_type(result_type k = 1, double p = 0.5);
232+
result_type k() const;
233+
double p() const;
234+
235+
bool operator==(const param_type& right) const;
236+
bool operator!=(const param_type& right) const;
237+
};
237238
```
238239

239240
### Parameters

0 commit comments

Comments
 (0)