You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
server can return a negative value when it should return uint #4157
I don't know how to reproduce this, but can you try:
diff --git a/src/NumPyDType.chpl b/src/NumPyDType.chpl
index b0697a1e9..d83e7c713 100644
--- a/src/NumPyDType.chpl+++ b/src/NumPyDType.chpl@@ -162,10 +162,10 @@ module NumPyDType
}
proc type2fmt(type t): string {
- if t == uint(8) then return "%i";- if t == uint(16) then return "%i";- if t == uint(32) then return "%i";- if t == uint then return "%i";+ if t == uint(8) then return "%u";+ if t == uint(16) then return "%u";+ if t == uint(32) then return "%u";+ if t == uint then return "%u";
if t == int(8) then return "%i";
if t == int(16) then return "%i";
if t == int(32) then return "%i";
Activity
ajpotts commentedon Mar 6, 2025
See also: #4147
e-kayrakli commentedon Mar 6, 2025
I don't know how to reproduce this, but can you try:
[-]server can return a negative uint[/-][+]server can return a negative value when it should return uint[/+]Closes Bears-R-Us#4157: server can return a negative value when it sh…
Closes Bears-R-Us#4157: server can return a negative value when it sh…
Closes #4157: server can return a negative value when it should retu… (…