20753: Fix column offset in full matrix when ref tile did not place.
[lightning.git] / slicenumpy.go
index 694f6a5249539438d8e9ca908732d014ab292722..e60c50adb1e883999c3e0024a5cd460282f42972 100644 (file)
@@ -872,7 +872,7 @@ func (cmd *sliceNumpy) run(prog string, args []string, stdin io.Reader, stdout,
                                                if cmd.filter.MaxTag >= 0 && tag > tagID(cmd.filter.MaxTag) {
                                                        break
                                                }
-                                               if rt := reftile[tag]; rt == nil || rt.excluded {
+                                               if rt := reftile[tag]; mask != nil && (rt == nil || rt.excluded) {
                                                        continue
                                                }
                                                if v == 0 {