Skip to content

onlyScaleDown() compatibility with fit()#1623

Open
magneticflux- wants to merge 4 commits intosquare:masterfrom
magneticflux-:master
Open

onlyScaleDown() compatibility with fit()#1623
magneticflux- wants to merge 4 commits intosquare:masterfrom
magneticflux-:master

Conversation

@magneticflux-
Copy link
Copy Markdown

@magneticflux- magneticflux- commented May 11, 2017

Resolves #941

This pull request adds a boolean flag that is used to identify if calling onlyScaleDown was requested. When the fit() call resizes the request, the doOnlyScaleDown boolean flag is checked and the onlyScaleDown method may be called.

I also performed minor changes in the test file that I modified, namely adding error suppression for obviously intentional lines of code.

I have accepted the Square CLA.

@magneticflux-
Copy link
Copy Markdown
Author

@JakeWharton Friendly ping! 😃

@Diegitsen
Copy link
Copy Markdown

p2

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.

2 participants