1
0
mirror of https://github.com/pybind/pybind11.git synced 2025-03-21 16:26:02 +00:00
pybind11/include
Aaron Gokaslan f47f1edfe8
Fix and fix const of inplace assignments ()
* Fix  and fix const of inplace assignments

* Fix missing tests

* Revert operator overloading changes

* calculate answer first for tests

* Simplify tests

* Add more tests

* Add a couple more tests

* Add test_inplace_lshift, test_inplace_rshift for completeness.

* Update tests

* Shortcircuit on self assigment and address reviewer comment

* broaden skip for self assignment

* One more reviewer comment

* Document opt behavior and make consistent

* Revert unnecessary change

* Clarify comment

Co-authored-by: Ralf W. Grosse-Kunstleve <rwgk@google.com>
2022-07-20 11:42:24 -04:00
..
pybind11 Fix and fix const of inplace assignments () 2022-07-20 11:42:24 -04:00