Jason Rhinelander fd7517037b Change array's writeable exception to a ValueError
Numpy raises ValueError when attempting to modify an array, while
py::array is raising a RuntimeError.  This changes the exception to a
std::domain_error, which gets mapped to the expected ValueError in
python.
2017-02-24 23:19:50 +01:00
..
2017-02-24 23:07:53 +01:00
2016-12-16 15:00:46 +01:00
2017-01-31 17:28:29 +01:00
2017-01-31 17:05:44 +01:00
2016-12-16 15:00:46 +01:00
2016-12-16 15:00:46 +01:00
2016-12-16 15:00:46 +01:00
2016-12-16 15:00:46 +01:00
2016-12-16 15:00:46 +01:00