Skip to content

Commit

Permalink
Change Probs type from float64 to float32.
Browse files Browse the repository at this point in the history
Our API returns 32-bit floats, so updating the client to match.
  • Loading branch information
Solon Gordon committed Nov 17, 2015
1 parent 13172ab commit d20504a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion requests.go
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ type TagResult struct {
Tag struct {
Classes []string `json:"classes"`
CatIDs []string `json:"catids"`
Probs []float64 `json:"probs"`
Probs []float32 `json:"probs"`
}
}
DocIDString string `json:"docid_str"`
Expand Down

0 comments on commit d20504a

Please sign in to comment.