diff options
author | Antonio Sanchez <cantonios@google.com> | 2021-01-21 09:44:42 -0800 |
---|---|---|
committer | Antonio Sanchez <cantonios@google.com> | 2021-01-21 09:44:42 -0800 |
commit | 25d8498f8ba29c8dc055dd56113facbdbe154345 (patch) | |
tree | 5095712269388fdbbdeb0ba400f08d7e37fa2c55 /test/packetmath.cpp | |
parent | 660c6b857c2a5fbcffe99721b0f327267309a736 (diff) |
Fix stable_norm_1 test.
Test enters an infinite loop if size is 1x1 when choosing to select
unique indices for adding `inf` and `NaN` to the input. Here we
revert to non-unique indices, and split the `hypotNorm` check into
two cases: one where both `inf` and `NaN` are added, and one where
only `NaN` is added.
Diffstat (limited to 'test/packetmath.cpp')
0 files changed, 0 insertions, 0 deletions