-
Notifications
You must be signed in to change notification settings - Fork 181
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
implemented pad function #441
Conversation
While I was writing code I got ambiguous interface error to which I preferred to keep |
Nice work @aman-godara! Some comments:
What I propose is to have the following versions (and analogous for
If we decide to allow So I guess my bottom line is that having |
Yes, I also liked the interface suggested by you let me make the changes. Also, how about making the function elemental? Except this case in all other cases having an elemental |
I didn't consider the case where a user gives an array in |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Only two minor comments, otherwise looks good to me.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you @aman-godara, great addition, I left two comments.
…y to the next line Co-authored-by: Milan Curcic <caomaco@gmail.com>
Sorry for the merge conflict, I probably merged the PRs in the wrong order. |
#394
Task: