Skip to content

Commit

Permalink
arg t.Frequency for printf verb %s of wrong type: map[string]int
Browse files Browse the repository at this point in the history
  • Loading branch information
njern committed Jul 18, 2014
1 parent e060684 commit fabb2a6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion filters/chimerge.go
Expand Up @@ -110,7 +110,7 @@ type FrequencyTableEntry struct {
}

func (t *FrequencyTableEntry) String() string {
return fmt.Sprintf("%.2f %s", t.Value, t.Frequency)
return fmt.Sprintf("%.2f %v", t.Value, t.Frequency)
}

func ChiMBuildFrequencyTable(attr int, inst *base.Instances) []*FrequencyTableEntry {
Expand Down

0 comments on commit fabb2a6

Please sign in to comment.