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

Explicit type conversion in additionalResults #2027

Conversation

auto-differentiation-dev
Copy link
Contributor

This fixes an error occurring when expression templates are used for the Real datatype operations. Since additionalResults is using boost::any as storage type, expressions get stored directly and not their evaluated version. The causes runtime failures like the one seen in this build.

This PR adds an explicit conversion which avoids this error, as proven in this pipline.

@coveralls
Copy link

Coverage Status

coverage: 72.765% (+0.1%) from 72.625%
when pulling 52b76ef on auto-differentiation-dev:type-conversion-correction
into d8d8753 on lballabio:master.

@lballabio lballabio added this to the Release 1.35 milestone Jul 18, 2024
@lballabio lballabio merged commit 6d931d4 into lballabio:master Jul 18, 2024
41 checks passed
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