Skip to content

Commit

Permalink
Move away from ExprOp range_diff
Browse files Browse the repository at this point in the history
  • Loading branch information
emotion3459 committed Nov 14, 2024
1 parent 3b60482 commit 557cc65
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion vsdeband/noise.py
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ def _resolve(grained: vs.VideoNode) -> vs.VideoNode:
if get_sample_type(grained) is vs.FLOAT:
return norm_expr(grained, 'x x.PS{plane_idx}Average -')

return norm_expr(grained, 'x range_diff range_size / x.PS{plane_idx}Average - range_size * +')
return norm_expr(grained, 'x neutral range_size / x.PS{plane_idx}Average - range_size * +')

return _resolve

Expand Down

0 comments on commit 557cc65

Please sign in to comment.