Repository navigation
Commit ffdb3b4
fix(features): keep restored points finite on a younger fault, clip arccos, document fault_pitch
A point on a younger fault now has a NaN gradient of that fault. An older
fault's apply_to_points added that NaN to the point, so the restored
point became NaN. Do not move points with a non-finite gradient.
Clip the cosine of the fold axis rotation angle to [-1, 1], so rounding
does not give NaN. Say in the fault_pitch docstring that pitch is
measured from strike and that 90 is the down-dip slip vector.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>1 parent 2eaf43c commit ffdb3b4
4 files changed
Lines changed: 14 additions & 2 deletions
File tree
- LoopStructural/modelling/features
- builders
- fault
- fold
- tests/unit/modelling
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
292 | 292 | | |
293 | 293 | | |
294 | 294 | | |
295 | | - | |
| 295 | + | |
| 296 | + | |
| 297 | + | |
296 | 298 | | |
297 | 299 | | |
298 | 300 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
593 | 593 | | |
594 | 594 | | |
595 | 595 | | |
| 596 | + | |
| 597 | + | |
| 598 | + | |
596 | 599 | | |
597 | 600 | | |
598 | 601 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
87 | 87 | | |
88 | 88 | | |
89 | 89 | | |
90 | | - | |
| 90 | + | |
91 | 91 | | |
92 | 92 | | |
93 | 93 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
253 | 253 | | |
254 | 254 | | |
255 | 255 | | |
| 256 | + | |
| 257 | + | |
| 258 | + | |
| 259 | + | |
| 260 | + | |
| 261 | + | |
| 262 | + | |
0 commit comments