Build and test python package on Windows CI (#3049)

This commit is contained in:
Cheng
2026-01-24 07:22:36 +09:00
committed by GitHub
parent dc81c1503a
commit fd27829efa
10 changed files with 44 additions and 12 deletions
+1 -1
View File
@@ -11,7 +11,7 @@ mx::array to_array(
if (auto pv = std::get_if<nb::bool_>(&v); pv) {
return mx::array(nb::cast<bool>(*pv), dtype.value_or(mx::bool_));
} else if (auto pv = std::get_if<nb::int_>(&v); pv) {
auto val = nb::cast<long>(*pv);
auto val = nb::cast<int64_t>(*pv);
auto default_type = (val > std::numeric_limits<int>::max() ||
val < std::numeric_limits<int>::min())
? mx::int64