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

Replace withsomezeros_rewrap with ProjectTo

Open oxinabox opened this issue 11 months ago • 0 comments

code in a few places e.g. norm.jl uses a helper function called withsomezeros that handles making Triangular and Diagonal (etc) matrixes back into the correct types. This seems very similar to ProjectTo and we could likely replace it with that

oxinabox avatar Dec 29 '24 08:12 oxinabox