Skip to content

Conversation

Copy link

Copilot AI commented Jan 30, 2026

Description of the feature or the bug

Contact type25 distance calculations were initialized with the too-small sentinel EP20, risking premature minimum selection and incorrect gap/penetration evaluation.

Description of the changes

  • Distance/penetration initialization now uses EP30 in type25 distance routines
    • i25dst3_1.F
    • i25dst3_21.F

Example:

! Before
PENT(1:JLT,1:4) = EP20
DD  (1:JLT,1:4) = EP20
DIST(1:JLT)     = EP20
LD(1:JLT)       = EP20

! After
PENT(1:JLT,1:4) = EP30
DD  (1:JLT,1:4) = EP30
DIST(1:JLT)     = EP30
LD(1:JLT)       = EP30
Original prompt

Can you search for any algorithmic bug in contact type20 interfaces (files with 25 in their name)?


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

Copilot AI changed the title [WIP] Fix algorithmic bug in contact type20 interfaces Correct type25 contact distance initialization to use EP30 Jan 30, 2026
Copilot AI requested a review from laurent-altr January 30, 2026 23:11
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