I've been implementing my own version of Dual Contouring (http://faculty.cs.tamu.edu/schaefer/research/dualcontour.pdf) and I noticed that if all the cell data types returned by refine_data are not identical, then split! fails because the child data gets returned as Tuple{Tuple{...}} instead of just Tuple{...}. Having this ability could be useful to leverage multiple dispatch on the cell data, as well as making the package easier to experiment with. Is there a reason the types need to be identical, or might this even be a bug?
I've been implementing my own version of Dual Contouring (http://faculty.cs.tamu.edu/schaefer/research/dualcontour.pdf) and I noticed that if all the cell data types returned by
refine_dataare not identical, thensplit!fails because the child data gets returned asTuple{Tuple{...}}instead of justTuple{...}. Having this ability could be useful to leverage multiple dispatch on the cell data, as well as making the package easier to experiment with. Is there a reason the types need to be identical, or might this even be a bug?