Skip to content

Commit

Permalink
Triage windows test failure
Browse files Browse the repository at this point in the history
  • Loading branch information
scaramallion committed Jan 13, 2024
1 parent b9a96ef commit bb16f60
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions lib/interface/encode.c
Original file line number Diff line number Diff line change
Expand Up @@ -133,6 +133,7 @@ extern int Encode(
case 6: // u4
break;
default:
printf("Unsupported dtype enum %d\n", type_enum);
py_error("The input array has an unsupported dtype");
return 5;
}
Expand Down
4 changes: 2 additions & 2 deletions openjpeg/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -66,8 +66,8 @@ class PhotometricInterpretation(IntEnum):
"the input array has an unsupported number of columns, must be " "in (1, 65535)"
),
5: (
"the input array has an unsupported dtype, only bool, u1, u2, i1 and "
"i2 are supported"
"the input array has an unsupported dtype, only bool, u1, u2, u4, i1, i2"
" and i4 are supported"
),
6: "the input array must use little endian byte ordering",
7: "the input array must be C-style, contiguous and aligned",
Expand Down

0 comments on commit bb16f60

Please sign in to comment.