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/pretty_good_oscillator.c | |
| parent | 07e18043145f3d91c8ea7ec3ad41b3c905585277 (diff) | |
refactormain
Diffstat (limited to 'lib/pretty_good_oscillator.c')
| -rw-r--r-- | lib/pretty_good_oscillator.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/pretty_good_oscillator.c b/lib/pretty_good_oscillator.c index 65a05c2..2dbc6f1 100644 --- a/lib/pretty_good_oscillator.c +++ b/lib/pretty_good_oscillator.c @@ -30,7 +30,7 @@ int ts_pretty_good_oscillator( { TS_PROLOGUE( ts_pretty_good_oscillator_p ); (void)c; - if (n == 0) return -1; + fp_t ema14 = x[0][0]; fp_t ema30 = x[0][0]; fp_t ema90 = x[0][0]; |