Skip to content

Commit

Permalink
a
Browse files Browse the repository at this point in the history
  • Loading branch information
nk2014yj committed Feb 22, 2023
1 parent 23e5a43 commit e34ca63
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions yael/kmlsh.c
Original file line number Diff line number Diff line change
Expand Up @@ -544,19 +544,19 @@ nnlist_t * kmlsh_ann_fvec (const float * vb, int nb,
/*--------------------------------------------------------------*/
/* Various Input/Output functions */

#define KMLSH_WRITE_ERROR(test) {if (!test) { \
#define KMLSH_WRITE_ERROR(test) {if (!(test)) { \
fprintf (stderr, "# kmlsh_write: I/O error with file %s\n", filename); \
exit (1); }}

#define KMLSH_READ_ERROR(test) {if (!test) { \
#define KMLSH_READ_ERROR(test) {if (!(test)) { \
fprintf (stderr, "# kmlsh_read: I/O error with file %s\n", filename); \
exit (1); }}

#define KMLSH_IDX_WRITE_ERROR(test) {if (!test) { \
#define KMLSH_IDX_WRITE_ERROR(test) {if (!(test)) { \
fprintf (stderr, "# kmlsh_idx_write: I/O error with file %s\n", filename); \
exit (1); }}

#define KMLSH_IDX_READ_ERROR(test) {if (!test) { \
#define KMLSH_IDX_READ_ERROR(test) {if (!(test)) { \
fprintf (stderr, "# kmlsh_idx_read: I/O error with file %s\n", filename); \
exit (1); }}

Expand Down

0 comments on commit e34ca63

Please sign in to comment.