Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

isfloat should be a bool #18

Merged
merged 1 commit into from
Aug 16, 2022
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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