ChainRules.jl icon indicating copy to clipboard operation
ChainRules.jl copied to clipboard

Allow N-dimensional arrays in `sort` rules

Open pxl-th opened this issue 2 years ago • 2 comments

pxl-th avatar Aug 30 '23 14:08 pxl-th

I think the reason these weren't added initially is that sortperm says "The method accepting dims requires at least Julia 1.9."

mcabbott avatar Aug 30 '23 15:08 mcabbott

Restricted tests to 1.9+. Otherwise it does not break anything.

pxl-th avatar Aug 30 '23 20:08 pxl-th