From 5b5436052f42a6898a9799eaea3f091caf6d1ec3 Mon Sep 17 00:00:00 2001 From: Angus Hollands Date: Sun, 22 Oct 2023 20:03:57 +0100 Subject: [PATCH] fix: type promotion --- src/awkward/_nplikes/typetracer.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/awkward/_nplikes/typetracer.py b/src/awkward/_nplikes/typetracer.py index 9f4c75bbcb..357b222ce9 100644 --- a/src/awkward/_nplikes/typetracer.py +++ b/src/awkward/_nplikes/typetracer.py @@ -744,7 +744,7 @@ def arange( else: length = unknown_length - default_int_type = np.int64 if (ak._util.win or ak._util.bits32) else np.int32 + default_int_type = np.int32 if (ak._util.win or ak._util.bits32) else np.int64 return TypeTracerArray._new(dtype or default_int_type, (length,)) def meshgrid(