mirror of
https://github.com/paboyle/Grid.git
synced 2024-11-09 23:45:36 +00:00
Happy on GCC I hope
This commit is contained in:
parent
f1b8ba45e7
commit
f0e9a5299f
@ -146,7 +146,7 @@ gaussian_distribution<_RealType>::operator()(_URNG& __g, const param_type& __p)
|
||||
__v = _Uni(__g);
|
||||
__s = __u * __u + __v * __v;
|
||||
} while (__s > 1 || __s == 0);
|
||||
result_type _Fp = _VSTD::sqrt(-2 * _VSTD::log(__s) / __s);
|
||||
result_type _Fp = std::sqrt(-2 * std::log(__s) / __s);
|
||||
_V_ = __v * _Fp;
|
||||
_V_hot_ = true;
|
||||
_Up = __u * _Fp;
|
||||
|
Loading…
Reference in New Issue
Block a user