Skip to content

Commit 727dae3

Browse files
committed
small fix
1 parent 5eee220 commit 727dae3

2 files changed

Lines changed: 3 additions & 2 deletions

File tree

.github/workflows/c.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,11 +41,12 @@ jobs:
4141
./k2unary.x web/goo40k.k2
4242
./matrixcmp.x web/goo40k.txt web/goo40k.k2.0.txt
4343
./matrixcmp.x web/goo40k.b128.1sq.txt web/goo40k.k2.1sq.txt
44-
./k2sparse.x web/goo40k.txt -o web/goo40k.k4
44+
./k2sparse.x -s 40000 web/goo40k.txt -o web/goo40k.k4
4545
./k2tclosure.x -v web/goo40k.k4
4646
./k2sparse.x -d web/goo40k.k4.tc -o web/goo40k.k4.tc.txt
4747
./b128tclosure.x -v web/goo40k.b128
4848
./b128sparse.x -d web/goo40k.b128.tc -o web/goo40k.b128.tc.txt
49+
./matrixcmp.x web/goo40k.b128.tc.txt web/goo40k.k4.tc.txt
4950
5051
- name: big transpose test
5152
run: ./sumtest.sh web/*.txt

k2tclosure.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@ int main (int argc, char **argv) {
117117

118118
// create file names
119119
sprintf(iname1,"%s",argv[1]);
120-
if(outfile==NULL) sprintf(oname,"%s.tc.k2",argv[1]);
120+
if(outfile==NULL) sprintf(oname,"%s%s",argv[1],default_ext);
121121
else sprintf(oname,"%s",outfile);
122122

123123
// init matrix variables (valid for b128 and k2tree)

0 commit comments

Comments
 (0)