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 error print in test_unary_ufunc #566

Merged
merged 1 commit into from
Sep 1, 2022

Conversation

jjwilke
Copy link
Contributor

@jjwilke jjwilke commented Aug 31, 2022

The recent changes to the tests broke error printing when errors occur due to a change in in_np. This fixes the error printing.

@jjwilke jjwilke requested a review from marcinz August 31, 2022 21:57
@jjwilke jjwilke added the bug Something isn't working label Aug 31, 2022
@marcinz marcinz added category:bug-fix PR is a bug fix and will be classified as such in release notes and removed bug Something isn't working labels Aug 31, 2022
print(arr)
print(f"dtype: {arr.dtype}")
print("Input:")
print(in_np)
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

So now in_np is always just one array or a scalar?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Correct, all the test cases were a single input (unary functions) so I just simplified this to be just one array.

@marcinz
Copy link
Collaborator

marcinz commented Sep 1, 2022

Strange that we got a failure on einsum.

@marcinz
Copy link
Collaborator

marcinz commented Sep 1, 2022

Should we merge this now @jjwilke?

@jjwilke jjwilke merged commit 0e70253 into nv-legate:branch-22.10 Sep 1, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
category:bug-fix PR is a bug fix and will be classified as such in release notes
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants