diff options
| author | Ethan Werner <mail@ethanwerner.com> | 2026-08-09 15:02:21 +0400 |
|---|---|---|
| committer | Ethan Werner <mail@ethanwerner.com> | 2026-08-09 15:02:21 +0400 |
| commit | 3d92926a902017e7cf1f5738e99ff62da596ce12 (patch) | |
| tree | 2b55422c26a48759d56fa91f06df24449e9dfa88 /lib/missing_bar_count.c | |
| parent | 07e18043145f3d91c8ea7ec3ad41b3c905585277 (diff) | |
refactormain
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; |