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

Remove incorrect axis argument to concatenate #477

Closed
wants to merge 1 commit into from

Conversation

guyer
Copy link
Member

@guyer guyer commented Nov 25, 2015

This never should have worked, but numpy 1.10 actually checks.
Also provide some documentation for what _faceToCellDistanceRatio is and
why it's scalar.

Addresses #475

This never should have worked, but numpy 1.10 actually checks.
Also provide some documentation for what `_faceToCellDistanceRatio` is and
why it's scalar.

Addresses #475
@guyer
Copy link
Member Author

guyer commented Nov 30, 2015

Don't merge, yet. Needs to be integrated with #472

pkgw added a commit to pkgw/fipy that referenced this pull request Dec 9, 2015
…() calls

As far as I can tell, there were several codepaths in the UniformGrid3D class
that seemed not to have been tested since they didn't work at all; in
particular, the _cellToCellIDs map was broken. This commit fixes that (I hope)
and a couple of more invalid `axis=n` keywords to `numerix.concatenate()`.
Unfortunately I have not put together test cases for these problems, so I'm
not completely sure that the "fixed" _cellToCellIDs is always correct.

See issue usnistgov#470, issue usnistgov#475, and issue usnistgov#477.
guyer pushed a commit that referenced this pull request Dec 27, 2015
…() calls

As far as I can tell, there were several codepaths in the UniformGrid3D class
that seemed not to have been tested since they didn't work at all; in
particular, the _cellToCellIDs map was broken. This commit fixes that (I hope)
and a couple of more invalid `axis=n` keywords to `numerix.concatenate()`.
Unfortunately I have not put together test cases for these problems, so I'm
not completely sure that the "fixed" _cellToCellIDs is always correct.

See issue #470, issue #475, and issue #477.
@guyer
Copy link
Member Author

guyer commented Dec 27, 2015

Fixed by #478 / 33d033d

@guyer guyer closed this Dec 27, 2015
@guyer guyer deleted the issue475-Grid3D_broken_by_numpy_1.10 branch December 27, 2015 23:41
@guyer guyer restored the issue475-Grid3D_broken_by_numpy_1.10 branch December 27, 2015 23:43
@guyer
Copy link
Member Author

guyer commented Dec 27, 2015

Oops. Comments were still worthwhile.

@guyer guyer reopened this Dec 27, 2015
@guyer guyer closed this Dec 27, 2015
@guyer guyer deleted the issue475-Grid3D_broken_by_numpy_1.10 branch December 27, 2015 23:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants