diff options
author | Mattias Andrée <maandree@kth.se> | 2023-02-09 12:14:32 +0100 |
---|---|---|
committer | Mattias Andrée <maandree@kth.se> | 2023-02-09 12:14:32 +0100 |
commit | 470dbe42060c750ef3e2dcd4dba5bd9cb3589338 (patch) | |
tree | f71193f38190696f4c8c33698138bb98d047d97b /equations.c | |
parent | m (diff) | |
download | librifunktionsteckensnittsglyfrasteriseringsprogrambiblioteket-470dbe42060c750ef3e2dcd4dba5bd9cb3589338.tar.gz librifunktionsteckensnittsglyfrasteriseringsprogrambiblioteket-470dbe42060c750ef3e2dcd4dba5bd9cb3589338.tar.bz2 librifunktionsteckensnittsglyfrasteriseringsprogrambiblioteket-470dbe42060c750ef3e2dcd4dba5bd9cb3589338.tar.xz |
Signed-off-by: Mattias Andrée <maandree@kth.se>
Diffstat (limited to 'equations.c')
-rw-r--r-- | equations.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/equations.c b/equations.c index 571fc26..2cf8bc9 100644 --- a/equations.c +++ b/equations.c @@ -302,6 +302,8 @@ check_cubic(double r1, double i1, double r2, double i2, double r3, double i3, do for (i = 0; i < sizeof(found) / sizeof(*found); i++) found[i] = (i >= nexpected || expected[i] < 0.0 + TOLERANCE || expected[i] > 1.0 - TOLERANCE); if (!nexpected) { + if (!ngot) /* FIXME */ + fprintf(stderr, "%lg, %lg, %lg, %lg, %lg, %lg, %lg, %i\n", r1, i1, r2, i2, r3, i3, k, strict_real); ASSERT(!ngot); return; } |