diff options
Diffstat (limited to 'lib/missing_bar_count.c')
| -rw-r--r-- | lib/missing_bar_count.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/missing_bar_count.c b/lib/missing_bar_count.c index e6f548e..d001a5f 100644 --- a/lib/missing_bar_count.c +++ b/lib/missing_bar_count.c @@ -34,8 +34,7 @@ int ts_missing_bar_count( { TS_PROLOGUE( ts_missing_bar_count_p ); if ( !c ) return -1; - if (n == 0) return -1; - fp_t threshold = ((ts_missing_bar_count_params_t *)c)->threshold; + fp_t threshold = ((ts_missing_bar_count_params_t const *)c)->threshold; y[0][0] = 0; |