Skip to content

Commit

Permalink
Fix type
Browse files Browse the repository at this point in the history
  • Loading branch information
scaramallion committed Jan 13, 2024
1 parent 388f5a1 commit a29c76d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/interface/encode.c
Original file line number Diff line number Diff line change
Expand Up @@ -209,7 +209,7 @@ extern int Encode(
}

unsigned int is_signed;
if (type_enum == NP_INT8 || type_enum == NPY_INT16 || type_enum == NPY_INT32) {
if (type_enum == NPY_INT8 || type_enum == NPY_INT16 || type_enum == NPY_INT32) {
is_signed = 1;
} else {
is_signed = 0;
Expand Down

0 comments on commit a29c76d

Please sign in to comment.