MCPcopy Create free account
hub / github.com/pybind/pybind11 / check_writeable

Method check_writeable

include/pybind11/numpy.h:1342–1346  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1340 }
1341
1342 void check_writeable() const {
1343 if (!writeable()) {
1344 throw std::domain_error("array is not writeable");
1345 }
1346 }
1347
1348 template <typename... Ix>
1349 void check_dimensions(Ix... index) const {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected