Fix typo

made default thresholds float instead of int