Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ TAGS
src/vecdec
vecdec
mtx_sub
mtx_dep
mtx_fw
mtx_qc
mtx_bb
Expand Down
5 changes: 4 additions & 1 deletion src/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ src = Makefile ${VECDEC_HDRS} ${VECDEC_SRC}

default: give_help

all: vecdec mtx_sub mtx_qc mtx_bb mtx_rep mtx_fw mtx_01_to_nz
all: vecdec mtx_sub mtx_qc mtx_bb mtx_rep mtx_dep mtx_fw mtx_01_to_nz

# The vecdec program
vecdec: ${VECDEC_OBJS} ${VECDEC_XTRA} ${VECDEC_HDRS} Makefile
Expand All @@ -58,6 +58,9 @@ mtx_qc: mtx_qc.c utils.h util_m4ri.h util_m4ri.o utils.o mmio.o Makefile
mtx_rep: mtx_rep.c utils.h util_m4ri.h util_m4ri.o utils.o mmio.o Makefile
${CC} ${OPT} ${WARN} -o mtx_rep $< util_m4ri.o utils.o mmio.o -l m4ri -lm

mtx_dep: mtx_dep.c utils.h util_m4ri.h util_m4ri.o utils.o mmio.o Makefile
${CC} ${OPT} ${WARN} -o mtx_dep $< util_m4ri.o utils.o mmio.o -l m4ri -lm

mtx_fw: mtx_fw.c utils.h vec.h Makefile tinymt64.o util_m4ri.o utils.o mmio.o
${CC} ${OPT} ${WARN} -o mtx_fw $< tinymt64.o util_m4ri.o utils.o mmio.o -l m4ri -l m

Expand Down
4 changes: 2 additions & 2 deletions src/mtx_bb.c
Original file line number Diff line number Diff line change
Expand Up @@ -173,8 +173,8 @@ int do_scan_a(int * const ptr, int i, const char argvi[], int glbpos, int p1, in
pos=pos1;
/* fall through */
case 2: case 3:
/* printf("recording dbgx=%d dbgy=%d w=%d idx=%d\n",
dbgx,dbgy,w,reverse==0 ? IDX(dbgx,dbgy) : IDX(-dbgx,-dbgy)); */
/* printf("recording dbgx=%d dbgy=%d w=%d idx=%d\n", */
/* dbgx,dbgy,w,reverse==0 ? IDX(dbgx,dbgy) : IDX(-dbgx,-dbgy)); */
/** this is correct: reserve 0th position for the weight */
ptr[++w] = reverse==0 ? IDX(dbgx,dbgy) : IDX(-dbgx,-dbgy);
if(c[pos]==','){ /** we are looking at `#,` or `#_#,` format */
Expand Down
Loading
Loading