summaryrefslogtreecommitdiffstats
path: root/lib/pretty_good_oscillator.c
diff options
context:
space:
mode:
authorEthan Werner <mail@ethanwerner.com>2026-08-09 15:02:21 +0400
committerEthan Werner <mail@ethanwerner.com>2026-08-09 15:02:21 +0400
commit3d92926a902017e7cf1f5738e99ff62da596ce12 (patch)
tree2b55422c26a48759d56fa91f06df24449e9dfa88 /lib/pretty_good_oscillator.c
parent07e18043145f3d91c8ea7ec3ad41b3c905585277 (diff)
Diffstat (limited to 'lib/pretty_good_oscillator.c')
-rw-r--r--lib/pretty_good_oscillator.c2
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];