Skip to content

fix checkDistributionFunctions to respect default nDim=0 when extracting first argument#992

Merged
paciorek merged 1 commit into
develfrom
fix-issue-991
May 9, 2020
Merged

fix checkDistributionFunctions to respect default nDim=0 when extracting first argument#992
paciorek merged 1 commit into
develfrom
fix-issue-991

Conversation

@perrydv
Copy link
Copy Markdown
Contributor

@perrydv perrydv commented Mar 16, 2020

checkDistributionFunctions determines if an "r" function exists to match the "d" function. If not, it constructs a dummy function with return type set from the type of the first argument to the "d" function. This PR updates how that works so that if the number of dimensions is missing from that type declaration, the expected default of 0 will be used.

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