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

implements auto dtype detection #271

Merged
merged 12 commits into from
Aug 18, 2021
Merged

implements auto dtype detection #271

merged 12 commits into from
Aug 18, 2021

Conversation

ziofil
Copy link
Collaborator

@ziofil ziofil commented Aug 12, 2021

numba methods for multidimensional hermite can now detect dtype automatically

@ziofil ziofil requested a review from nquesada August 12, 2021 15:57
Comment on lines 222 to 223
if dtype is None:
dtype = R.dtype
Copy link
Collaborator

Choose a reason for hiding this comment

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

you probably want the larger of the data types of R, y and C.

@codecov
Copy link

codecov bot commented Aug 12, 2021

Codecov Report

Merging #271 (11a580f) into master (0d4d5d3) will not change coverage.
The diff coverage is 100.00%.

@@            Coverage Diff            @@
##            master      #271   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files           21        21           
  Lines         1435      1439    +4     
=========================================
+ Hits          1435      1439    +4     
Impacted Files Coverage Δ
thewalrus/_hermite_multidimensional.py 100.00% <100.00%> (ø)

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 0d4d5d3...11a580f. Read the comment docs.

@josh146
Copy link
Member

josh146 commented Aug 18, 2021

👀 ( ❤️ )

(I had no idea np.find_common_type existed!)

@nquesada nquesada merged commit b7378f9 into master Aug 18, 2021
@nquesada nquesada deleted the dtype_None branch August 18, 2021 15:29
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.

3 participants