commit c913d8b3563d0fbcda603ac4cdae8dcbb734055f
parent 62c9e8012e9a0844d9597b90723a928b71ad103b
Author: Sebastiano Tronto <sebastiano@tronto.net>
Date: Wed, 1 Jun 2022 10:00:02 +0200
Fixed bug with nxopt
Diffstat:
3 files changed, 2 insertions(+), 1 deletion(-)
diff --git a/nissy b/nissy
Binary files differ.
diff --git 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
@@ -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);