#1572 Fixes change in behavior cause by passing resolution as an integer to the scalar encoder.
Update test to match correct scalar encoder behavior.
Merge pull request #1589 from scottpurdy/bucketing

#1572 Fixes change in behavior cause by passing resolution as an integer...