|
28 | 28 |
|
29 | 29 | namespace geode |
30 | 30 | { |
31 | | - template < typename Type > |
32 | | - bool UniformClosed< Type >::is_valid() const |
33 | | - { |
34 | | - if( min_value < max_value ) |
35 | | - { |
36 | | - return true; |
37 | | - } |
38 | | - if( min_value == max_value ) |
39 | | - { |
40 | | - geode::Logger::warn( |
41 | | - "[Uniform Closed] - check range boundaries definintion [", |
42 | | - min_value, ",", max_value, "]." ); |
43 | | - return true; |
44 | | - } |
45 | | - geode::Logger::error( |
46 | | - "[Uniform Closed] - check range boundaries definintion [", |
47 | | - min_value, ",", max_value, "]." ); |
48 | | - return false; |
49 | | - } |
50 | | - template opengeode_stochastic_stochastic_api struct UniformClosed< |
51 | | - index_t >; |
52 | | - template opengeode_stochastic_stochastic_api struct UniformClosed< |
53 | | - local_index_t >; |
54 | | - template opengeode_stochastic_stochastic_api struct UniformClosed< |
55 | | - signed_index_t >; |
56 | | - template opengeode_stochastic_stochastic_api struct UniformClosed< float >; |
57 | | - template opengeode_stochastic_stochastic_api struct UniformClosed< double >; |
58 | | - |
59 | | - template < typename Type > |
60 | | - bool UniformClosedOpen< Type >::is_valid() const |
61 | | - { |
62 | | - if( min_value < max_value ) |
63 | | - { |
64 | | - return true; |
65 | | - } |
66 | | - geode::Logger::error( |
67 | | - "[Uniform ClosedOpen] - check range boundaries definintion [", |
68 | | - min_value, ",", max_value, "]." ); |
69 | | - return false; |
70 | | - } |
71 | | - template opengeode_stochastic_stochastic_api struct UniformClosedOpen< |
72 | | - index_t >; |
73 | | - template opengeode_stochastic_stochastic_api struct UniformClosedOpen< |
74 | | - local_index_t >; |
75 | | - template opengeode_stochastic_stochastic_api struct UniformClosedOpen< |
76 | | - signed_index_t >; |
77 | | - template opengeode_stochastic_stochastic_api struct UniformClosedOpen< |
78 | | - float >; |
79 | | - template opengeode_stochastic_stochastic_api struct UniformClosedOpen< |
80 | | - double >; |
| 31 | + // template < typename Type > |
| 32 | + // bool UniformClosed< Type >::is_valid() const |
| 33 | + // { |
| 34 | + // if( min_value < max_value ) |
| 35 | + // { |
| 36 | + // return true; |
| 37 | + // } |
| 38 | + // if( min_value == max_value ) |
| 39 | + // { |
| 40 | + // geode::Logger::warn( |
| 41 | + // "[Uniform Closed] - check range boundaries definintion [", |
| 42 | + // min_value, ",", max_value, "]." ); |
| 43 | + // return true; |
| 44 | + // } |
| 45 | + // geode::Logger::error( |
| 46 | + // "[Uniform Closed] - check range boundaries definintion [", |
| 47 | + // min_value, ",", max_value, "]." ); |
| 48 | + // return false; |
| 49 | + // } |
| 50 | + // template opengeode_stochastic_stochastic_api struct UniformClosed< |
| 51 | + // index_t >; |
| 52 | + // template opengeode_stochastic_stochastic_api struct UniformClosed< |
| 53 | + // local_index_t >; |
| 54 | + // template opengeode_stochastic_stochastic_api struct UniformClosed< |
| 55 | + // signed_index_t >; |
| 56 | + // template opengeode_stochastic_stochastic_api struct UniformClosed< |
| 57 | + // float >; template opengeode_stochastic_stochastic_api struct |
| 58 | + // UniformClosed< double >; |
| 59 | + // |
| 60 | + // |
| 61 | + // template < typename Type > |
| 62 | + // bool UniformClosedOpen< Type >::is_valid() const |
| 63 | + // { |
| 64 | + // if( min_value < max_value ) |
| 65 | + // { |
| 66 | + // return true; |
| 67 | + // } |
| 68 | + // geode::Logger::error( |
| 69 | + // "[Uniform ClosedOpen] - check range boundaries definintion [", |
| 70 | + // min_value, ",", max_value, "]." ); |
| 71 | + // return false; |
| 72 | + // } |
| 73 | + // template opengeode_stochastic_stochastic_api struct UniformClosedOpen< |
| 74 | + // index_t >; |
| 75 | + // template opengeode_stochastic_stochastic_api struct UniformClosedOpen< |
| 76 | + // local_index_t >; |
| 77 | + // template opengeode_stochastic_stochastic_api struct UniformClosedOpen< |
| 78 | + // signed_index_t >; |
| 79 | + // template opengeode_stochastic_stochastic_api struct UniformClosedOpen< |
| 80 | + // float >; |
| 81 | + // template opengeode_stochastic_stochastic_api struct UniformClosedOpen< |
| 82 | + // double >; |
81 | 83 |
|
82 | 84 | bool Gaussian::is_valid() const |
83 | 85 | { |
|
0 commit comments