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: Fixed missing argument in ivy.inplace_update() function call #27808

Merged
merged 1 commit into from
Jan 7, 2024

Conversation

Sai-Suraj-27
Copy link
Contributor

PR Description

In the following function call, the argument for val is not passed.
https://github.com/unifyai/ivy/blob/3f28537e0a0783ebcd68e2c11e9c6a30ed4b4d17/ivy/functional/backends/jax/experimental/manipulation.py#L462-L465
From the actual definition of the inplace_update() function, 2 arguments should be passed (x, and val)
https://github.com/unifyai/ivy/blob/3f28537e0a0783ebcd68e2c11e9c6a30ed4b4d17/ivy/functional/ivy/general.py#L2954-L2961

Related Issue

Closes #27807

Checklist

  • Did you add a function?
  • Did you add the tests?
  • Did you run your tests and are your tests passing?
  • Did pre-commit not fail on any check?
  • Did you follow the steps we provided?

Socials

@vedpatwardhan
Copy link
Contributor

lgtm! Feel free to merge the PR @NiteshK84, thanks @Sai-Suraj-27 😄

@soma2000-lang soma2000-lang merged commit 4550323 into Transpile-AI:main Jan 7, 2024
136 of 141 checks passed
@soma2000-lang soma2000-lang self-assigned this Jan 7, 2024
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.

No value for argument val in function call ivy.inplace_update()
4 participants