Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix dcd4f880a86e500ec88ddf7eafe65894a24b85a3 #15415

Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
fix dcd4f88
  • Loading branch information
light-and-ray committed Mar 31, 2024
commit 4ccbae320e0dddccd78edcb328f5ad160ec474af
2 changes: 1 addition & 1 deletion scripts/postprocessing_upscale.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ def limit_size_by_one_dimention(w, h, limit):
if h > w and h > limit:
w = limit * w // h
h = limit
elif w > h and w > limit:
elif w > limit:
h = limit * h // w
w = limit

Expand Down
Loading