Thanks! the template alias ID solves my problem.
Your code doesn't look good,
What was wrong with it and what would you suggest to improve it? Also, I noticed you replaced (among other things): a.map!dg.array by a.map!dg().array()Will the way I'm skipping "()" ever be deprecated? One of the points of UFCS was to avoid writing too much parentheses (in addition to avoiding writing nested parentheses).