Skip to content

Commit

Permalink
Added sintax command
Browse files Browse the repository at this point in the history
  • Loading branch information
torognes committed Mar 2, 2018
1 parent ab0deaa commit 97362d7
Show file tree
Hide file tree
Showing 8 changed files with 771 additions and 14 deletions.
2 changes: 2 additions & 0 deletions src/Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,7 @@ searchexact.h \
showalign.h \
sha1.h \
shuffle.h \
sintax.h \
sortbylength.h \
sortbysize.h \
subsample.h \
Expand Down Expand Up @@ -126,6 +127,7 @@ searchexact.cc \
sha1.c \
showalign.cc \
shuffle.cc \
sintax.cc \
sortbylength.cc \
sortbysize.cc \
subsample.cc \
Expand Down
2 changes: 2 additions & 0 deletions src/searchcore.h
Original file line number Diff line number Diff line change
Expand Up @@ -142,6 +142,8 @@ struct searchinfo_s
int finalized;
};

void search_topscores(struct searchinfo_s * si);

void search_onequery(struct searchinfo_s * si, int seqmask);

struct hit * search_findbest2_byid(struct searchinfo_s * si_p,
Expand Down
2 changes: 0 additions & 2 deletions src/shuffle.cc
Original file line number Diff line number Diff line change
Expand Up @@ -75,8 +75,6 @@ void shuffle()
for(int i=0; i<dbsequencecount; i++)
deck[i] = i;

random_init();

int passed = 0;
progress_init("Shuffling", dbsequencecount-1);
for(int i=dbsequencecount-1; i>0; i--)
Expand Down
Loading

1 comment on commit 97362d7

@torognes
Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Issue #210

Please sign in to comment.