aboutsummaryrefslogtreecommitdiff
path: root/shell
diff options
context:
space:
mode:
authorSebastiano Tronto <sebastiano@tronto.net>2025-03-29 10:04:16 +0100
committerSebastiano Tronto <sebastiano@tronto.net>2025-03-29 10:04:16 +0100
commitb6c1ff6cfdfe0f4ce602fe83e54c3112a1c95690 (patch)
treef9d61c905194276dcf632e31e07ec485b172b131 /shell
parent0f23987edbbabdf88fbe175f695b4fdb727586fd (diff)
downloadnissy-core-b6c1ff6cfdfe0f4ce602fe83e54c3112a1c95690.tar.gz
nissy-core-b6c1ff6cfdfe0f4ce602fe83e54c3112a1c95690.zip
Optimize genptable for coordinate solve (20x speedup)
Diffstat (limited to '')
-rw-r--r--shell/shell.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/shell/shell.c b/shell/shell.c
index 1b66f19..4b354c6 100644
--- a/shell/shell.c
+++ b/shell/shell.c
@@ -641,7 +641,7 @@ parse_uint(const char *argv, unsigned *result)
641static uint8_t 641static uint8_t
642parse_nisstype(const char *arg) 642parse_nisstype(const char *arg)
643{ 643{
644 if (!strcmp("normal", arg)) 644 if (!strcmp("normal", arg) || !strcmp("", arg))
645 return NISSY_NISSFLAG_NORMAL; 645 return NISSY_NISSFLAG_NORMAL;
646 646
647 if (!strcmp("inverse", arg)) 647 if (!strcmp("inverse", arg))

Generated with cgit - Back to sebastiano.tronto.net