-
Notifications
You must be signed in to change notification settings - Fork 191
Bug fix: Allocatable argument 'x' is not allocated #472 #474
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
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you. The declaration should be also changed in stdlib_math.fypp
.
I believe I should guard the logspace as well, to avoid any further trouble. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you for these changes.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Elegant solution. Thank you for reporting this and working to clean it up so quickly. I also appreciate the fact that through this bug's discussion I have learned about the intrinsic function merge
and its use cases compared to the stdlib
optval
.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good. Thank you for the fix.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for sharing. Looks good to me.
Maybe this two should also be guarded. |
Thank you @14NGiestas for this bug fix. I'll merge it. Fixes #472 |
There is a unreliable behaviour when dealing with negative size at runtime in GCC 11, this bug fix is addressing this issue.