Commit e870fe60 authored by Benjamin Peterson's avatar Benjamin Peterson

make_new_cpu_set takes the number of cpus

parent 2740af8c
......@@ -4923,7 +4923,7 @@ cpu_set_richcompare(Py_cpu_set *set, Py_cpu_set *other, int op)
Py_INCREF(res); \
} \
else { \
res = make_new_cpu_set(&cpu_set_type, left->size); \
res = make_new_cpu_set(&cpu_set_type, left->ncpus); \
if (!res) \
return NULL; \
} \
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment