Fix entropy#19
Merged
Merged
Conversation
Remove derived code from entropy
Port over changes accepted in upstream to protect log(0.0) where relevant
Author
|
Does the two things I mentioned in the other thread. |
mattip
pushed a commit
that referenced
this pull request
Nov 15, 2023
Merge in ~STEPAN.SINDELAR_ORACLE.COM/numpy-hpy from fa/ufunc to labs-hpy-port * commit '335938402f0ef2183a2d4a8c355b76e5214813ff': (32 commits) Fix: missing type flag HAVE_GC causes crash Fix: _happly_array_wrap should not steal reference Use HPyErr_Format_p instead of PyErrFormat Fix some compilation warnings Support 2nd ufunc calling case Implement bytes/unicode case in _get_fixed_signature Fix: args also have keywords appended Don't steal refs in _happly_array_wrap and HPyArray_Return Fix: invalid condition in HPyArray_Return Fix: context may be NULL Fix: inverted condition Add tp_call slot to ufunc type and do actual ufunc internal call Add HPyGlobals for scalar types Finish migration of ufunc_generic_fastcall Introduce HPyArray_GetDims Migrate PyArray_Newshape; add HPyArray_DescrFromType to header Migrate function _apply_array_wrap Introduce function HPyArray_Return Migrate function should_use_min_scalar Introduce helper HPyBool_Check ...
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.