Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Update _linear_operator.py Add additional LinearOperator.__add__ case for Pythonic addition operations with the builtin sum() function. After other common use-cases, check if other is a numeric Python type and equal to zero, and if so, return self. * Update linear_operator/operators/_linear_operator.py Co-authored-by: Max Balandat <Balandat@users.noreply.github.com> * Update _linear_operator.py Co-authored-by: Geoff Pleiss <gpleiss@gmail.com> Co-authored-by: Max Balandat <Balandat@users.noreply.github.com>
- Loading branch information