Bugfix (computing expectations on integer types would return integers, not floating point values)