Skip to content

Conversation

@JonathonMisiewicz
Copy link
Contributor

Description

Make back_transform consistent across the various signatures and better behaved for more "exotic" cases.

User API & Changelog headlines

  • Improved Matrix::back_transform's ability to handle edge cases

Dev notes & details

  • All back_transform signatures now trickle down to a single function
  • All back_transform signatures resize the target matrix if necessary (only one did this previously, DGEMM error otherwise)
  • All back_transform signatures handle symmetry correctly (at least some would error previously)

Checklist

  • back_transform passing tests

Status

  • Ready for review
  • Ready for merge

@JonathonMisiewicz JonathonMisiewicz added crash For issues that cause a Psi4 non-compile, crash, segfault, or algorithm failure. libmints For things that are wrong with libmints (but not wavefunction). cleanup For issues where the goal is to make Psi4 a little cleaner. labels Oct 11, 2022
@JonathonMisiewicz JonathonMisiewicz added this to the Psi4 1.7 milestone Oct 11, 2022
Copy link
Member

@loriab loriab left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nice consolidation

Copy link
Contributor

@maxscheurer maxscheurer left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

cleanup For issues where the goal is to make Psi4 a little cleaner. crash For issues that cause a Psi4 non-compile, crash, segfault, or algorithm failure. libmints For things that are wrong with libmints (but not wavefunction).

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants