fix bug when using multiple maps with basis
@@ -254,7 +254,7 @@ int main_pics(int argc, char* argv[])
max_dims[COEFF_DIM] = basis_dims[COEFF_DIM];
- md_copy_dims(DIMS, bmx_dims, max_dims);
+ md_select_dims(DIMS, ~MAPS_FLAG, bmx_dims, max_dims);
debug_printf(DP_INFO, "Basis: ");
debug_print_dims(DP_INFO, DIMS, bmx_dims);
