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

Causes error in registration of cumsum and cumprod functions #3892

Draft
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

drculhane
Copy link
Contributor

As documented in the comments starting at line 179 of src/EfuncMsg.chpl, this causes an error in the registration of the cumsum and cumprod functions, using the new user interface.

Each has two procs defined: one for input types int, uint and real, where output type = input type, and one for input type bool, where output = int.

Only the first of the procs is registered. In this example, one has the "bool" version first, and only that is registered, and the other has the "bool" version second, and it 's not registered.

I can get around this by making one proc for each, and using a separate function to assign the output type, but there is definitely an error somewhere in here.

@ajpotts
Copy link
Contributor

ajpotts commented Nov 18, 2024

See comments on #3893

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