-
-
Notifications
You must be signed in to change notification settings - Fork 199
Closed
Description
Summary:
sort_asc() and sort_desc() on a structure that contains NaN does not behave consistently.
- break into following and include each in relevant header
-
prim/arr/fun/sort_asc.hpp -
prim/arr/fun/sort_desc.hpp -
prim/mat/fun/sort_asc.hpp -
prim/mat/fun/sort_desc.hpp
-
- remove
revandfwdsort files and includes in relevant headers - throw exception if
NaNfound
Can leave tests as is.
Reproducible Steps:
There's no ordering imposed for NaN, so no need.
Current Output:
Undefined.
Expected Output:
Throw exception.
Current Version:
v2.11.0
Reactions are currently unavailable