biod.pnpi.spb.ru
/
alexxy
/
gromacs.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Resolve "SYCL + DPCPP cmake config fails in gmxManageFFTLibraries.cmake"
[alexxy/gromacs.git]
/
python_packaging
/
src
/
external
/
pybind
/
include
/
pybind11
/
pytypes.h
diff --git
a/python_packaging/src/external/pybind/include/pybind11/pytypes.h
b/python_packaging/src/external/pybind/include/pybind11/pytypes.h
index 96eab9662c9681959e51887b215756f0ec569169..4003d6918492b82543e7a58a44594eea2f3b60dd 100644
(file)
--- a/
python_packaging/src/external/pybind/include/pybind11/pytypes.h
+++ b/
python_packaging/src/external/pybind/include/pybind11/pytypes.h
@@
-1345,7
+1345,7
@@
public:
buf.strides = py_strides.data();
buf.shape = py_shape.data();
buf.suboffsets = nullptr;
- buf.readonly =
false
;
+ buf.readonly =
info.readonly
;
buf.internal = nullptr;
m_ptr = PyMemoryView_FromBuffer(&buf);