projects
/
lightning.git
/ blobdiff
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
19524: Fix colormap.
[lightning.git]
/
tilestats.go
diff --git
a/tilestats.go
b/tilestats.go
index b6284d9d017ea123ee3e64f31783941ed33d83e6..c4a0a887477d68bef8306fbda703f3450e0406ff 100644
(file)
--- a/
tilestats.go
+++ b/
tilestats.go
@@
-145,7
+145,7
@@
func (cmd *tilingStats) RunCommand(prog string, args []string, stdin io.Reader,
duptag := map[tagID]bool{}
for _, seqname := range seqnames {
for _, libref := range cseq.TileSequences[seqname] {
duptag := map[tagID]bool{}
for _, seqname := range seqnames {
for _, libref := range cseq.TileSequences[seqname] {
- if
dup, seen := duptag[libref.Tag]; seen && !dup
{
+ if
_, seen := duptag[libref.Tag]; seen
{
duptag[libref.Tag] = true
} else {
duptag[libref.Tag] = false
duptag[libref.Tag] = true
} else {
duptag[libref.Tag] = false