Skip to content

Bugfix: random_skewing and skewing_angle parameters conflict#355

Open
DenisDiachkov wants to merge 1 commit intoBelval:masterfrom
DenisDiachkov:bugfix/random_skewing_angle
Open

Bugfix: random_skewing and skewing_angle parameters conflict#355
DenisDiachkov wants to merge 1 commit intoBelval:masterfrom
DenisDiachkov:bugfix/random_skewing_angle

Conversation

@DenisDiachkov
Copy link

if random_skew=False, skewing_angle is not forced to be positive anymore.

Before

random_angle = rnd.randint(0 - skewing_angle, skewing_angle)

Would give an error if skewing_angle is negative

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant