diff --git a/jobspec2/parse_map.go b/jobspec2/parse_map.go index 1b5404896..d0c8fbecc 100644 --- a/jobspec2/parse_map.go +++ b/jobspec2/parse_map.go @@ -197,9 +197,6 @@ func smallestNumber(b *big.Float) interface{} { return v } - if v, acc := b.Float64(); acc == big.Exact || acc == big.Above { - return v - } - - return b + v, _ := b.Float64() + return v }