Skip to content

Commit

Permalink
Fix warning in parse_dash_results
Browse files Browse the repository at this point in the history
  • Loading branch information
m-kuhn committed Aug 2, 2020
1 parent 2677de9 commit 532f548
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/parse_dash_results.py
Expand Up @@ -339,7 +339,7 @@ def create_mask(self, control_image, rendered_image, mask_image, overload=1):
rendered_rgb = struct.unpack(
'I', rendered_scanline[x * 4:x * 4 + 4])[0]
difference = min(
255, colorDiff(expected_rgb, rendered_rgb) * overload)
255, int(colorDiff(expected_rgb, rendered_rgb) * overload))

if difference > currentTolerance:
# update mask image
Expand Down

0 comments on commit 532f548

Please sign in to comment.