Skip to content

Conversation

Copy link

Copilot AI commented Jan 28, 2026

Inline comments on lines 48-49 of src/core/vdw_rules.h incorrectly stated "eps" when the variable sqrt_eps_ij represents sqrt(eps_i * eps_j).

Changes

  • Line 48: // eps * R^12 * r^-12// sqrt(eps_i * eps_j) * R^12 * r^-12
  • Line 49: // 2 * eps * R^6 * r^-6// 2 * sqrt(eps_i * eps_j) * R^6 * r^-6

The variable sqrt_eps_ij = sqrt_eps_i * sqrt_eps_j equals sqrt(eps_i * eps_j), not eps_ij. Comments now match implementation.


💬 We'd love your input! Share your thoughts on Copilot coding agent in our 2 minute survey.

Copilot AI changed the title [WIP] Address feedback on arithmetic VDW rule support Clarify sqrt(eps_i * eps_j) in arithmetic VDW inline comments Jan 28, 2026
Copilot AI requested a review from David-Araripe January 28, 2026 16:02
@David-Araripe David-Araripe marked this pull request as ready for review January 29, 2026 15:00
@David-Araripe David-Araripe merged commit a2ea848 into qgpu/arithmetic-vdw Jan 29, 2026
@David-Araripe David-Araripe deleted the copilot/sub-pr-78 branch January 29, 2026 15:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants