Skip to content

Conversation

@ConstLike
Copy link
Collaborator

See changes.

@ConstLike ConstLike self-assigned this Oct 19, 2025
@Alireza-Lashkaripour Alireza-Lashkaripour added the documentation Improvements or additions to documentation label Oct 19, 2025
Comment on lines +468 to +474
0.0_dp, tmp(:,1), nbf)

! Step 2: Outer product to form AO-basis matrix
! P^bo1v_(mu,nu) += C^alpha_(mu,HOMO-1) * tmp_nu
call dgemm('n', 't', nbf, nbf, 1, &
1.0_dp, va(:,lr1:lr1), nbf, &
tmp(:,1:1), nbf, &
Copy link
Collaborator

Choose a reason for hiding this comment

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

Difference between tmp(:,1) and tmp(:,1:1) that, in the first case, it produces 1D array as actual argument and, in the second case, it produces 2D array as actual argument. So, does it make sense here to have A:A labelling like 1:1 or lr1:lr1?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

NO, it doesn't. Just to clarify, the same slice is used in any case (lr1 or lr1:lr1).

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

Labels

documentation Improvements or additions to documentation

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants