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

Extremely bug: get_DMK_vector()! #3892

Closed
16 tasks
dyzheng opened this issue Apr 2, 2024 · 0 comments · Fixed by #3893
Closed
16 tasks

Extremely bug: get_DMK_vector()! #3892

dyzheng opened this issue Apr 2, 2024 · 0 comments · Fixed by #3893
Assignees
Labels
Bugs Bugs that only solvable with sufficient knowledge of DFT

Comments

@dyzheng
Copy link
Collaborator

dyzheng commented Apr 2, 2024

Describe the bug

template <typename TK, typename TR>
std::vector<std::vector<TK>> DensityMatrix<TK, TR>::get_DMK_vector() const
{
    return this->_DMK;
}

Expected behavior

The return should be a reference!
Please fix it ASAP.

To Reproduce

No response

Environment

No response

Additional Context

No response

Task list for Issue attackers (only for developers)

  • Verify the issue is not a duplicate.
  • Describe the bug.
  • Steps to reproduce.
  • Expected behavior.
  • Error message.
  • Environment details.
  • Additional context.
  • Assign a priority level (low, medium, high, urgent).
  • Assign the issue to a team member.
  • Label the issue with relevant tags.
  • Identify possible related issues.
  • Create a unit test or automated test to reproduce the bug (if applicable).
  • Fix the bug.
  • Test the fix.
  • Update documentation (if necessary).
  • Close the issue and inform the reporter (if applicable).
@dyzheng dyzheng added the Bugs Bugs that only solvable with sufficient knowledge of DFT label Apr 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bugs Bugs that only solvable with sufficient knowledge of DFT
Projects
None yet
2 participants