From c913d8b3563d0fbcda603ac4cdae8dcbb734055f Mon Sep 17 00:00:00 2001 From: Sebastiano Tronto Date: Wed, 1 Jun 2022 10:00:02 +0200 Subject: Fixed bug with nxopt --- nissy | Bin 327920 -> 327920 bytes src/shell.c | 1 + src/symcoord.c | 2 +- 3 files changed, 2 insertions(+), 1 deletion(-) diff --git a/nissy b/nissy index 67d8910..6f4e7cd 100755 Binary files a/nissy and b/nissy differ diff --git a/src/shell.c b/src/shell.c index 77d5d1d..30d02be 100644 --- a/src/shell.c +++ b/src/shell.c @@ -143,6 +143,7 @@ main(int argc, char *argv[]) char *closing_cmd[1] = { "freemem" }; init_env(); + /*print_ptable(&pd_nxopt31_HTM);*/ if (!checkfiles()) { fprintf(stderr, diff --git a/src/symcoord.c b/src/symcoord.c index 202a4bf..5c6634e 100644 --- a/src/symcoord.c +++ b/src/symcoord.c @@ -226,8 +226,8 @@ move_nxopt31(Move m, uint64_t ind) coud = (ind / BINOM8ON4) % POW3TO7; cpsep = ind % BINOM8ON4; - eofbepos = move_eofbepos_16[m][eofbepos]; ttr = ttrep_move_eofbepos_16[m][eofbepos]; + eofbepos = move_eofbepos_16[m][eofbepos]; coud = coud_mtable[m][coud]; coud = co_ttable[ttr][coud]; /* Source is always coud */ cpsep = coord_cpud_separate.move(m, cpsep); -- cgit v1.3