Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Handle input data consisting of constant data specially.
This fixes the following warning while running tests: RuntimeWarning: invalid value encountered in sign The cause of this was a division by zero that produces lots of NaNs. This special case is worth handling explicitly. Signed-off-by: Uli Schlachter <psychon@znc.in>
- Loading branch information