"client_example/04_contraction/contraction_bilinear.cpp" did not exist on "646fcc268ede841a16cdaafb68aa64803d8390e1"
  1. 28 May, 2022 1 commit
  2. 27 May, 2022 1 commit
  3. 26 May, 2022 1 commit
    • Ralf W. Grosse-Kunstleve's avatar
      Move `PyErr_NormalizeException()` up a few lines (#3971) · 2c549eb7
      Ralf W. Grosse-Kunstleve authored
      * Add error_already_set_what what tests, asserting the status quo.
      
      * Move PyErr_NormalizeException() up a few lines.
      
      * @pytest.mark.skipif("env.PYPY") from PR #1895 is required even for this much simpler PR
      
      * Move PyException_SetTraceback() with PyErr_NormalizeException() as suggested by @skylion007
      
      * Insert a std::move() as suggested by @skylion007
      2c549eb7
  4. 25 May, 2022 1 commit
  5. 23 May, 2022 1 commit
  6. 17 May, 2022 1 commit
  7. 16 May, 2022 3 commits
  8. 06 May, 2022 1 commit
  9. 05 May, 2022 1 commit
    • Ed Catmur's avatar
      Add anyset & frozenset, enable copying (cast) to std::set (#3901) · 68a0b2df
      Ed Catmur authored
      * Add frozenset, and allow it cast to std::set
      
      For the reverse direction, std::set still casts to set. This is in concordance with the behavior for sequence containers, where e.g. tuple casts to std::vector but std::vector casts to list.
      
      Extracted from #3886.
      
      * Rename set_base to any_set to match Python C API
      
      since this will be part of pybind11 public API
      
      * PR: static_cast, anyset
      
      * Add tests for frozenset
      
      and rename anyset methods
      
      * Remove frozenset default ctor, add tests
      
      Making frozenset non-default constructible means that we need to adjust pyobject_caster to not require that its value is default constructible, by initializing value to a nil handle.  This also allows writing C++ functions taking anyset, and is arguably a performance improvement, since there is no need to allocate an object that will just be replaced by load.
      
      Add some more tests, including anyset::empty, anyset::size, set::add and set::clear.
      
      * [pre-commit.ci] auto fixes from pre-commit.com hooks
      
      for more information, see https://pre-commit.ci
      
      
      
      * Add rationale to `pyobject_caster` default ctor
      
      * Remove ineffectual protected: access control
      Co-authored-by: default avatarpre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
      68a0b2df
  10. 02 May, 2022 1 commit
  11. 26 Apr, 2022 1 commit
  12. 24 Apr, 2022 1 commit
  13. 18 Apr, 2022 2 commits
  14. 15 Apr, 2022 1 commit
  15. 14 Apr, 2022 4 commits
  16. 11 Apr, 2022 4 commits
  17. 05 Apr, 2022 1 commit
    • Aaron Gokaslan's avatar
      perf: Add more moves and optimize (#3845) · c4e29528
      Aaron Gokaslan authored
      * Make slice constructor consistent
      
      * Add more missing std::move for ref steals
      
      * Add missing perfect forwarding for arg_v ctor
      
      * Add missing move in arg_v constructor
      
      * Revert "Add missing move in arg_v constructor"
      
      This reverts commit 126fc7c524ea7a51b54720defd75de3470d69557.
      
      * Add another missing move in cast.h
      
      * Optimize object move ctor
      
      * Don't do useless move
      
      * Make move ctor same as nb
      
      * Make obj move ctor same as nb
      
      * Revert changes which break MSVC
      c4e29528
  18. 01 Apr, 2022 1 commit
  19. 25 Mar, 2022 2 commits
  20. 24 Mar, 2022 1 commit
  21. 22 Mar, 2022 1 commit
  22. 18 Mar, 2022 1 commit
  23. 11 Mar, 2022 1 commit
  24. 02 Mar, 2022 3 commits
  25. 01 Mar, 2022 1 commit
  26. 25 Feb, 2022 1 commit
  27. 23 Feb, 2022 1 commit
  28. 20 Feb, 2022 1 commit