From d20504a4b74a5a767a4611d0e21c3ad052872531 Mon Sep 17 00:00:00 2001 From: Solon Gordon Date: Tue, 17 Nov 2015 12:04:23 -0500 Subject: [PATCH] Change Probs type from float64 to float32. Our API returns 32-bit floats, so updating the client to match. --- requests.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/requests.go b/requests.go index 531e8fb..1ff9c65 100644 --- a/requests.go +++ b/requests.go @@ -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"`