mirror of
https://github.com/bolero-MURAKAMI/Sprout.git
synced 2025-07-12 14:54:10 +00:00
fix rational: for clang
This commit is contained in:
parent
c22735b212
commit
071217f1d4
13 changed files with 66 additions and 86 deletions
|
@ -32,7 +32,7 @@ namespace sprout {
|
|||
typedef RealType input_type;
|
||||
typedef RealType result_type;
|
||||
private:
|
||||
struct private_constructor_tag {};
|
||||
struct private_construct_t {};
|
||||
public:
|
||||
//
|
||||
// param_type
|
||||
|
@ -105,7 +105,7 @@ namespace sprout {
|
|||
SPROUT_CONSTEXPR normal_distribution(
|
||||
RealType mean, RealType sigma, RealType r1, RealType r2,
|
||||
RealType cached_rho, bool valid,
|
||||
private_constructor_tag
|
||||
private_construct_t
|
||||
)
|
||||
: mean_(mean)
|
||||
, sigma_(sigma)
|
||||
|
@ -132,7 +132,7 @@ namespace sprout {
|
|||
r2,
|
||||
cached_rho,
|
||||
valid,
|
||||
private_constructor_tag()
|
||||
private_construct_t()
|
||||
)
|
||||
);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue