Skip to content

Conversation

mcabbott
Copy link
Member

This tries to fix #62 by using functor(typeof(x), dx) only for gradients, and functor(aux) for the tree of offsets made by destructure.

But it doesn't quite work, as for an array of arrays like x = [[1.0, 2.0]] the offset structure is something like o = [4] which is leaflike.

@mcabbott mcabbott marked this pull request as draft March 26, 2022 02:47
@jondeuce jondeuce mentioned this pull request Apr 22, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

destructure doesn't work correctly with certain functors
1 participant