We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 15a2070 commit d702da5Copy full SHA for d702da5
rawspec_gpu.cu
@@ -506,13 +506,10 @@ int rawspec_initialize(rawspec_context * ctx)
506
fflush(stderr);
507
return 1;
508
} else if(ctx->float_data && ctx->Nbps != 16 && ctx->Nbps != 32) {
509
- fprintf(
510
- stdout,
511
- "Nbps cannot be %d for floating-point data, treating as 16.\n",
512
- ctx->Nbps
513
- );
+ fprintf(stderr, "Number of bits per float sample in raw header must be 16 or 32\n");
+ fprintf(stderr, "Observed a value of %d\n", ctx->Nbps);
514
515
- ctx->Nbps = 16;
+ return 1;
516
}
517
NbpsIsExpanded = ctx->Nbps == 4;
518
if(ctx->Nbps == 4)
0 commit comments