-
Notifications
You must be signed in to change notification settings - Fork 467
Remove unused and pointer-argumented overloads of Matrix::diagonalize #2693
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
I'm having second thoughts about this PR now. Should we deprecate the old constructors first? This PR will require changes in Forte as well. |
Hmm, indeed while the functions are not The question is, should "deprecate before removal" principle be applied to all member functions/ctors of a 'PSI_API` class? I would assume yes. |
options as I see them. I do think we should try to get the changes into one psi4 release cycle.
|
I vote deprecate, just in case we change our mind on this decision. |
fine by me |
Agreed on the deprecation. |
Regarding the deprecation message/schedule: do you mean that they should be deprecated now and then removed before 1.7 RC1? |
I think deprecation warnings (with code still functional) need to be in at least one release. So the code can be broken as soon as ~Dec (after 1.7.0 release). But what I was meaning to say with "get the changes into one psi4 release cycle" was let's aim to get all the immediate-breaks and/or notifications in before 1.7.0 so that downstream users have the info to do a single overhaul after 1.7.0. Keep pinging me if this doesn't make sense :-) |
…onalize in molecule.cc
I propose that this PR could be re-tagged as Psi4 1.8 and kept open after #2738 is merged, as a reminder to delete the functions. |
Description
Some overloads of
Matrix::diagonalize
inlibmints
are never called anywhere, they are deleted.On the suggestion of @JonathonMisiewicz I have only kept the overloads that do not take pointer arguments and modified the call sites where required.
This is another shard of the #2642 mega-PR that can be merged independently.
Todos
Matrix::diagonalize
overloads are goneMatrix::diagonalize
no longer takes pointer argumentsStatus