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

Fix Operator.eval() in case output pin 0 is not named "fields_container" #1527

Merged
merged 1 commit into from
Apr 23, 2024

Conversation

PProfizi
Copy link
Contributor

@PProfizi PProfizi commented Apr 22, 2024

I have stumbled upon operators where the output pin 0, despite being of type fields_container, is not named fields_container.
That is an implicit rule we generally follow, not a hard one we can expect everyone to follow.
The eval() method should thus be made more generic.
It still tests for a fields_container type output pin, but it does not put any requirement on the naming.

Signed-off-by: paul.profizi <paul.profizi@ansys.com>
@PProfizi PProfizi added the bug Something isn't working label Apr 22, 2024
@PProfizi PProfizi added this to the v0.12.1 milestone Apr 22, 2024
@PProfizi PProfizi self-assigned this Apr 22, 2024
@PProfizi PProfizi merged commit b777188 into master Apr 23, 2024
40 checks passed
@PProfizi PProfizi deleted the fix/operator_get_output branch April 23, 2024 09:12
PProfizi added a commit that referenced this pull request Apr 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants