Skip to content

MODULUS scaling bug - wrong index used in loop#13880

Open
magnesj wants to merge 2 commits intodevfrom
fix-modulus-calculation-geomech
Open

MODULUS scaling bug - wrong index used in loop#13880
magnesj wants to merge 2 commits intodevfrom
fix-modulus-calculation-geomech

Conversation

@magnesj
Copy link
Copy Markdown
Member

@magnesj magnesj commented Apr 15, 2026

Closes #13875

magnesj added 2 commits April 15, 2026 11:23
…icated code

The range-based loop used the outer column index 'i' as the element index,
causing only one slot to be written while all others remained zero. Extracted
scaleColumnIfModulus() helper to remove duplication between both branches.
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.

RifElementPropertyReader: MODULUS scaling bug - wrong index used in loop

1 participant