Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

error: lvalue required as left operand of assignment #53

Open
jiapei100 opened this issue Aug 8, 2021 · 0 comments
Open

error: lvalue required as left operand of assignment #53

jiapei100 opened this issue Aug 8, 2021 · 0 comments

Comments

@jiapei100
Copy link

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....
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant