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
Use std::vector instead of Table #12995
Conversation
c20fd22
to
530823a
Compare
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.
I think this is a good local solution. Next we need to find out the problem for the AlignedVector
.
/rebuild |
@elauksap What is the reason that this PR is still "draft"? |
Just removed that label 😉 I was waiting for the tests on my local machine to complete. |
I like the solution with the statically typed array. Would this be something we could also apply to other similar classes? If so, want to write a patch? |
I was specifically thinking of the other polynomial classes. |
Ok, I see! You mean to replace, e.g., |
I think that doesn't work because you don't know how many basis functions you have, and so it really needs to be a dynamic I don't know whether there are other similar opportunities in the classes I mentioned. It's possible that there are none, I was just wondering whether there are :-) |
As far as I can see, after some searching and |
OK, thanks for checking! |
Follow-up from #12993.
This fix bypasses the memory leak, which by the way still requires further investigation.
closes #12993