Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions stl/inc/random
Original file line number Diff line number Diff line change
Expand Up @@ -4376,12 +4376,12 @@ private:
template <class _Engine>
result_type _Eval(_Engine& _Eng, const param_type& _Par0) const {
double _Vx1;
gamma_distribution<double> dist1(
gamma_distribution<double> _Dist1(
static_cast<double>(_Par0._Kx), static_cast<double>((_Ty{1} - _Par0._Px) / _Par0._Px));
_Vx1 = dist1(_Eng);
poisson_distribution<_Ty> dist2(_Vx1);
_Vx1 = _Dist1(_Eng);
poisson_distribution<_Ty> _Dist2(_Vx1);

return dist2(_Eng);
return _Dist2(_Eng);
}

param_type _Par;
Expand Down
2 changes: 1 addition & 1 deletion stl/inc/xmemory
Original file line number Diff line number Diff line change
Expand Up @@ -1870,7 +1870,7 @@ struct _In_place_key_extract_set<_Key, _Key> {

// STRUCT TEMPLATE _In_place_key_extract_map
// assumes _Args have already been _Remove_cvref_t'd
template <class _Key, class... Args>
template <class _Key, class... _Args>
struct _In_place_key_extract_map {
// by default we can't extract the key in the emplace family and must construct a node we might not use
static constexpr bool _Extractable = false;
Expand Down