Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Ensure norm succeeds on numerical errors in inner(...) (#68)
* Ensure norm succeeds on numerical errors in inner Due to numerical errors the inner product can sometimes return an infinitesimal negative number (e.g. -1e-26). This negative number causes the sqrt to fail with a domain error This fix ensures that the result of the inner product of X and X is always greater than or equal to zero (which it should be by definition)
- Loading branch information
e1babe4
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@JuliaRegistrator register
e1babe4
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Registration pull request created: JuliaRegistries/General/36796
After the above pull request is merged, it is recommended that a tag is created on this repository for the registered package version.
This will be done automatically if the Julia TagBot GitHub Action is installed, or can be done manually through the github interface, or via: