numpyeigen
numpyeigen copied to clipboard
error: lvalue required as left operand of assignment
My ENV:
- OS: Ubuntu 20.04.2
- Python: 3.8.10
- pip: 21.2.3
....../numpyeigen/cmake/../src/npe_sparse_array.h:169:13: error: lvalue required as left operand of assignment
169 | data.flags() &= ~detail::npy_api::NPY_ARRAY_OWNDATA_;
| ~~~~~~~~~~^~
....../numpyeigen/cmake/../src/npe_sparse_array.h:172:15: error: lvalue required as left operand of assignment
172 | indptr.flags() &= ~detail::npy_api::NPY_ARRAY_OWNDATA_;
| ~~~~~~~~~~~~^~
....../numpyeigen/cmake/../src/npe_sparse_array.h:175:16: error: lvalue required as left operand of assignment
175 | indices.flags() &= ~detail::npy_api::NPY_ARRAY_OWNDATA_;
| ~~~~~~~~~~~~~^~
....../numpyeigen/cmake/../src/npe_sparse_array.h:182:18: error: lvalue required as left operand of assignment
182 | indices.flags() &= ~detail::npy_api::NPY_ARRAY_WRITEABLE_;
| ~~~~~~~~~~~~~^~
....../numpyeigen/cmake/../src/npe_sparse_array.h:183:17: error: lvalue required as left operand of assignment
183 | indptr.flags() &= ~detail::npy_api::NPY_ARRAY_WRITEABLE_;
| ~~~~~~~~~~~~^~
....../numpyeigen/cmake/../src/npe_sparse_array.h:184:15: error: lvalue required as left operand of assignment
184 | data.flags() &= ~detail::npy_api::NPY_ARRAY_WRITEABLE_;
| ~~~~~~~~~~^~
make[2]: *** [CMakeFiles/npe.dir/build.make:79: CMakeFiles/npe.dir/src/npe_typedefs.cpp.o] Error 1
make[2]: Leaving directory '....../numpyeigen/build'
make[1]: *** [CMakeFiles/Makefile2:123: CMakeFiles/npe.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....