mirror of
https://github.com/bolero-MURAKAMI/Sprout
synced 2025-08-03 12:49:50 +00:00
fix sprout::enabler (Issue #71)
This commit is contained in:
parent
8dc640a6e2
commit
77df3b80e2
3 changed files with 4 additions and 7 deletions
|
@ -16,9 +16,9 @@ namespace sprout {
|
|||
namespace compost {
|
||||
//
|
||||
// rosenberg_value
|
||||
// Rosenberg wave is asymmetric waveform,
|
||||
// expansion period/reduction period of the glottis is 40%/16% of the cycle,
|
||||
// tau1 is expansion period, tau2 is reduction period
|
||||
// Rosenberg wave is asymmetric waveform,
|
||||
// expansion period/reduction period of the glottis is 40%/16% of the cycle,
|
||||
// tau1 is expansion period, tau2 is reduction period
|
||||
//
|
||||
template<typename T>
|
||||
inline SPROUT_CONSTEXPR typename sprout::float_promote<T>::type
|
||||
|
|
|
@ -17,13 +17,10 @@ namespace sprout {
|
|||
// enabler
|
||||
//
|
||||
typedef void* enabler_t;
|
||||
#if defined(__INTEL_COMPILER) || defined(__ICL) || defined(__ICC) || defined(__ECC)
|
||||
namespace {
|
||||
SPROUT_STATIC_CONSTEXPR sprout::enabler_t enabler = {};
|
||||
} // anonymous-namespace
|
||||
#else
|
||||
extern enabler_t enabler;
|
||||
#endif
|
||||
//
|
||||
// enabler_if
|
||||
//
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue