Skip to content

Commit

Permalink
WARNING messages for skippe structures
Browse files Browse the repository at this point in the history
  • Loading branch information
stivalaa committed Sep 1, 2021
1 parent ad2159d commit ce8be02
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions nvcc_src_current/parsetableaux.c
Original file line number Diff line number Diff line change
Expand Up @@ -456,6 +456,8 @@ int read_database(FILE *fp, char **tableaux, float **distmatrices,

if (read_order < -1) /* tableau too large*/
{
fprintf(stderr, "WARNING: excluded database structure %s as it is too large\n",
name);
parse_distmatrix(fp, order <= MAXDIM_GPU ? MAXDIM_GPU : MAXDIM,
-(read_order), NULL, 1); /* read+discard the distmatrix */
num_skipped++;
Expand Down Expand Up @@ -598,6 +600,7 @@ int read_queries(FILE *fp, char **tableaux, float **distmatrices,

if (read_order < -1) /* tableau too large*/
{
fprintf(stderr, "WARNING: excluded query structure %s as it is too large\n", name);
parse_distmatrix(fp, MAXDIM,
-(read_order), NULL, 1); /* read+discard the distmatrix */
num_skipped++;
Expand Down

0 comments on commit ce8be02

Please sign in to comment.