Skip to content

Commit

Permalink
isfloat should be a bool
Browse files Browse the repository at this point in the history
  • Loading branch information
genevb authored and pcanal committed Aug 16, 2022
1 parent 79d1a56 commit 1d9e3e1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions core/accelogic/src/ZipAccelogic.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ void R__zipBLAST(unsigned char *cxlevels, int *srcsize, char *src, int *tgtsize,

int rawtype = datatype % EDataType::kOffsetL;

int isfloat = (rawtype == EDataType::kFloat_t);
bool isfloat = (rawtype == EDataType::kFloat_t);
bool isdouble = (rawtype == EDataType::kDouble_t);

size_t out_sizes[MAX_ZIG_BUFFERS];
Expand Down Expand Up @@ -232,7 +232,7 @@ void R__unzipBLAST(int *srcsize, unsigned char **srcs, int *tgtsize, unsigned ch

int rawtype = datatype % EDataType::kOffsetL;

int isfloat = (rawtype == EDataType::kFloat_t);
bool isfloat = (rawtype == EDataType::kFloat_t);
bool isdouble = (rawtype == EDataType::kDouble_t);

if (isfloat || isdouble) {
Expand Down

0 comments on commit 1d9e3e1

Please sign in to comment.