Nudging after a first realization fails can cause a panic #100
Labels
No labels
bug
design
duplicate
enhancement
maintenance
prospective
question
regression
stub
todo
ui
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: StudioInfinity/dyna3#100
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Behavior
Nudging an assembly after its first realization attempt has failed can cause a panic.
Reproduction steps
Commit:
4cb3262
(main branch at pull request #91).column_mut
call inAssembly::deform
.Possible explanation
I suspect that the way we're handling realization failure can break invariant (1) or (2) in the
assembly
module.Vectornaut referenced this issue2025-08-23 04:10:37 +00:00
This may have been fixed by pull request #105. In particular, the reproduction steps work on commit
0801200
(main branch at pull request #103), but not on the subsequent commit2eba80f
(main branch at pull request #105). This is probably because pull request #105 triggers a realization whenever you add an element, so the dimension of the tangent space stays more in sync with the number of column-indexed elements. I'm leaving the issue open until we get a chance to investigate further.