That handy function select() would have more utility if it successfully passed along container references e.g:
void foo(f32& Out, const f32& In1, const f32&In2) { ... }
dense a1, a2, b1,b2; // some data
map(foo)( select(cond, a1, a2), b1, b2 );
Compiles OK, but the JIT seems to decide neither a1 nor a2 is a map output so this code gets optimized away...
- paul



