Remove an unnecessary overwrite of the .writeable flag on a numpy array.
This was redundant with the C++ code which already sets this flag, and also a data race because NumPy does not protect the flag field. It is therefore not safe to set it once the object might be thread shared. PiperOrigin-RevId: 972068651
P
Peter Hawkins committed
27bdcf8e633b1966806988093332fadcffdf6607
Parent: d5ca59f
Committed by jax authors <google-ml-automation@google.com>
on 8/27/2026, 6:43:01 PM