diff options
| author | Sebastiano Tronto <sebastiano@tronto.net> | 2025-03-29 10:04:16 +0100 |
|---|---|---|
| committer | Sebastiano Tronto <sebastiano@tronto.net> | 2025-03-29 10:04:16 +0100 |
| commit | b6c1ff6cfdfe0f4ce602fe83e54c3112a1c95690 (patch) | |
| tree | f9d61c905194276dcf632e31e07ec485b172b131 /shell/shell.c | |
| parent | 0f23987edbbabdf88fbe175f695b4fdb727586fd (diff) | |
| download | nissy-core-b6c1ff6cfdfe0f4ce602fe83e54c3112a1c95690.tar.gz nissy-core-b6c1ff6cfdfe0f4ce602fe83e54c3112a1c95690.zip | |
Optimize genptable for coordinate solve (20x speedup)
Diffstat (limited to 'shell/shell.c')
| -rw-r--r-- | shell/shell.c | 2 |
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) | |||
| 641 | static uint8_t | 641 | static uint8_t |
| 642 | parse_nisstype(const char *arg) | 642 | parse_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)) |
