-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Added reverse method to PyTensorKey * Add concatenation operator for tensor keys * Add new header for hash functor * add hash_value method to basis objects. * Add hash method to PyTensorKey * added context method to algebra types. * added coeff lookup by key type. * Implemented intermediate keytype lookup for lie keys * Oops missed virtual * Actually declare friend function in namespace * Added basis to pytensorkey python interface * Fixed an issue with type deduction in basis interface * Added to_letters method to tensorkey python interface * Added arithmetic between scalars and ints/doubles * Moved error macros and support to platform This allows use to have fairly complex code for producing error messages because it is hidden away in a shared library. * add boost stacktrace to dependencies * pass backtrace as argument to get the locality right. * Fixed need to call function to get pointer * Fixed a potential bug caused by trivial bytes 0 * No address of for array. * is_mutable convenience function * Fixed bug not assigning zero trivial bytes * debug assertion * Formatting * Switch to dst_info to avoid needing a new constructor * short circuit if lhs is zero. * add borrowed scalar test * Fixed argument order for r operators * Fixed cause of segfault in scalar repr * Add debug assertions * Add more debug assertions * Fix a bug that leads to unset type after copy zero * More tests for scalars * Adding tensor functions * Changed implementation of eq operator for basis objects * Added richcompare function to pycontext * allow assigning of scalars in constructors * Fixed a bug in is_pointer_zero * Add test for Log * Handle scalar arg in check_and_set_dtype * More intelligent handling for copying from opaque pointer * Implement assignment for owned pointers * oops missed part * copy interfaces as if they were opaque pointers * use enumeration aware function * perform a true copy on assignment from opaque pointer * remove unused define * formatting * fixed semantics of assigment move operator * Implemented ScalarMeta_call * Raw python pointer st-pst * preparations for moving static python scalar type * extended tests for scalars * finish test for adjoint * remove print * change type and packed pointer access * formatting * remove some compiler warnings * implemented type promotion for scalars * formatting * update CMakeLists.txt * various updates for debugging * implement operators by hand * remove debug print * remove debug print * Fix the implementation of divide to use type promotion * fill out the missing promotion modes * remove debug format function * added docstrings * update changelog * Fixed incorrect type promotion in float * relative import for init
- Loading branch information
1 parent
5ba347b
commit 2e41f59
Showing
55 changed files
with
2,449 additions
and
624 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.