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

[test] [bug] Fix master test failure by #1437 #1466

Merged
merged 1 commit into from
Jul 11, 2020

Conversation

archibate
Copy link
Collaborator

Related issue = #

[Click here for the format server]


Sorry about breaking master test :(
But what's the point of using np.ndarray in Taichi-scope?

IMO ti.ext_arr() is being edged and can be easily buggy.. e.g.: https://forum.taichi.graphics/t/hw0-5-implicit-euler-method-on-mass-spring-system/961/13
If we don't maintain ti.ext_arr(), how about just deprecate it and do some walk around for to_numpy?

@ti.must_throw(AssertionError)
def test_numpy_3d():
@ti.must_throw(IndexError)
def test_numpy_3d_error():
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

I'm wondering who wrote this test... Its name overrides the previous one.

@codecov
Copy link

codecov bot commented Jul 11, 2020

Codecov Report

❗ No coverage uploaded for pull request base (master@846fc15). Click here to learn what that means.
The diff coverage is n/a.

Impacted file tree graph

@@            Coverage Diff            @@
##             master    #1466   +/-   ##
=========================================
  Coverage          ?   66.98%           
=========================================
  Files             ?       38           
  Lines             ?     5410           
  Branches          ?      951           
=========================================
  Hits              ?     3624           
  Misses            ?     1624           
  Partials          ?      162           

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 846fc15...0da0f9c. Read the comment docs.

Copy link
Contributor

@xumingkuan xumingkuan left a comment

Choose a reason for hiding this comment

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

LGTM!

@archibate
Copy link
Collaborator Author

Merging this to prevent future failure, let's talk about ext_arr iapr.

@archibate archibate merged commit 20e0496 into taichi-dev:master Jul 11, 2020
@FantasyVR FantasyVR mentioned this pull request Jul 15, 2020
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