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

ENH: add per axis interpolation to DiscreteLp #294

Merged
merged 3 commits into from
Mar 9, 2016
Merged

Conversation

kohr-h
Copy link
Member

@kohr-h kohr-h commented Mar 8, 2016

Fixes #201.

@adler-j
Copy link
Member

adler-j commented Mar 8, 2016

No tests?

@kohr-h
Copy link
Member Author

kohr-h commented Mar 8, 2016

I can add some basic tests, sure, but the interpolation is being extensively tested already.

@kohr-h
Copy link
Member Author

kohr-h commented Mar 9, 2016

Basic tests added. A said, we have some tests for the actual interpolation, this addition only concerns the interface.

@kohr-h kohr-h added the merge? label Mar 9, 2016
raise ValueError("interpolation type '{}' not understood."
"".format(interp_in))
self._interp = [interp] * partition.ndim
except TypeError:
Copy link
Member

Choose a reason for hiding this comment

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

What typeerror are we catching here?

Copy link
Member Author

Choose a reason for hiding this comment

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

We catch the interp + '' error if interp is not a string-like type.

@adler-j
Copy link
Member

adler-j commented Mar 9, 2016

Looks good

kohr-h added a commit that referenced this pull request Mar 9, 2016
ENH: add per axis interpolation to DiscreteLp
@kohr-h kohr-h merged commit a131ba2 into master Mar 9, 2016
@kohr-h kohr-h deleted the issue-201__per_axis branch March 9, 2016 13:59
@kohr-h kohr-h removed the merge? label Sep 21, 2016
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